phhusson / Superuser

Keeping koush's Superuser fresh
GNU General Public License v3.0
423 stars 50 forks source link

Getting exe path failed with 13: Permission denied #31

Open luzj opened 8 years ago

luzj commented 8 years ago

01-11 18:11:13.997 14152-14152/? D/su: su invoked. 01-11 18:11:14.007 14153-14153/? W/su: hacks: Testing (com.keramidas.TitaniumBackup:-1:0) 01-11 18:11:14.017 14154-14154/? D/su: Allowing root/system/radio. 01-11 18:11:14.017 14155-14155/? W/su: hacks: Testing (com.keramidas.TitaniumBackup:0), 2075236441 01-11 18:11:14.017 14156-14156/? D/su: 0 /sbin/su executing 0 /system/bin/sh using binary /system/bin/sh : sh 01-11 18:11:34.047 14534-14534/? D/su: su invoked. 01-11 18:11:34.057 14535-14535/? W/su: hacks: Testing (com.keramidas.TitaniumBackup:-1:0) 01-11 18:11:34.057 14536-14536/? E/su: Getting exe path failed with 13: Permission denied 01-11 18:11:34.067 14538-14538/? W/su: request rejected (10104->0 /system/bin/sh)

using latest master code, In Android 4.3. using su in adb shell is ok, but other app return Getting exe path failed with 13: Permission denied, why?

phhusson commented 8 years ago

Getting a permission denied here is weird, but whatever. How did you install su?

The from_init function is fairly useless, unless that's how you installed it. I'd suggest to comment out the call to it in su_main_nodaemon