linux/android下java语句如何赋予shell脚本可执行权限
linux/android下java语句如何赋予shell脚本可执行权限
日期:2017-08-30 11:17:18 人气:1
看看你java运行使用的是哪个客户,一般是当前用户,你建一个这个用户有全部权限的目录“u”,然后执行使用exec("chmod 777 /u/a.sh");exec("/u/a.sh")
linux/android下java语句如何赋予shell脚本可执行权限