在参照狗神的daemon教程书写教程时,make package 要生成root wheel所有权的文件,我下载了链接下的文件,修改权限并且放在了对应目录下(只贴出了shell里的部分内容)
xiaoZtongxuedeMacBook-Air:SDKs DoubleZ$ ls -l /opt/theos/bin/
-rwxr-xr-x@ 1 DoubleZ wheel 777 11 24 2010 fauxsu
-rwxr-xr-x@ 1 DoubleZ wheel 51536 11 24 2010 libfauxsu.dylib
可是还是重新make package以后还是staff权限,运行如下
xiaoZtongxuedeMacBook-Air:rootdaemond DoubleZ$ make package
/Users/DoubleZ/Documents/iOS/iOSRE/rootdaemond/rootdaemond/theos/makefiles/targets/Darwin/iphone.mk:41: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tool rootdaemond...
Compiling main.mm...
Linking tool rootdaemond...
Stripping rootdaemond...
Signing rootdaemond...
Making stage for tool rootdaemond...
dm.pl: building package `com.adteam.rootdaemond:iphoneos-arm' in `./com.adteam.rootdaemond_0.0.1-7_iphoneos-arm.deb'
xiaoZtongxuedeMacBook-Air:rootdaemond DoubleZ$ /opt/local/bin/dpkg-deb -c com.adteam.rootdaemond_0.0.1-7_iphoneos-arm.deb
drwxr-xr-x DoubleZ/staff 0 2016-03-02 22:35 .
drwxr-xr-x DoubleZ/staff 0 2016-03-01 23:40 ./Library
drwxr-xr-x DoubleZ/staff 0 2016-03-02 07:50 ./Library/LaunchDaemons
-rw-r--r-- DoubleZ/staff 527 2016-03-02 07:53 ./Library/LaunchDaemons/com.adteam.rootdaemond.plist
drwxr-xr-x DoubleZ/staff 0 2016-03-02 22:35 ./usr
drwxr-xr-x DoubleZ/staff 0 2016-03-02 22:35 ./usr/bin
-rwxr-xr-x DoubleZ/staff 50064 2016-03-02 22:35 ./usr/bin/rootdaemond
各位大神可以帮小弟解决一下吗?