Error copying file to /system partition
Moderators: Hacker, petermad, Stefan2, white
Error copying file to /system partition
Anytime I want to copy some file to the /system partition I get an error saying "su error: could not open source file". Other file managers (for example ES File Manager) don't have this issue.
I'm running an unofficial build of CyanogenMod 11 (Android 4.4) on a Galaxy Nexus and using its default Superuser app.
I'm running an unofficial build of CyanogenMod 11 (Android 4.4) on a Galaxy Nexus and using its default Superuser app.
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm surprised that ES can do it under these conditions - to my knowledge, "Superuser" is NOT supporting Android 4.3 and 4.4 yet.
Total Commander currently works with SuperSU. I have no idea what I need to change to make it work with Superuser. I simply call the "su" binary, and SuperSU does the rest.
If anyone has an idea what could be done, please let me know.
Total Commander currently works with SuperSU. I have no idea what I need to change to make it work with Superuser. I simply call the "su" binary, and SuperSU does the rest.
If anyone has an idea what could be done, please let me know.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2revanmj
Which build of Cyanogenmod 11 do you use? I have just installed Cyanogenmod 11 "M Snapshot" dated 2013-12-05 on my Nexus 7 (2012), and I can mount partitions as read/write without any problems. I can also copy to /system without problems. Please make sure that you use the latest Total Commander from the Play Store or ghisler.com.
2spamkuba
This is normal - when you copy a file to /system, it inherits the user rights of that folder. Therefore it's probably limited to root now. To view and change the permissions and user/group, please make a long tap on the file and choose "Properties". There you can tap on "rwx" for the permissions, or "UID" for user/group name.
Which build of Cyanogenmod 11 do you use? I have just installed Cyanogenmod 11 "M Snapshot" dated 2013-12-05 on my Nexus 7 (2012), and I can mount partitions as read/write without any problems. I can also copy to /system without problems. Please make sure that you use the latest Total Commander from the Play Store or ghisler.com.
2spamkuba
This is normal - when you copy a file to /system, it inherits the user rights of that folder. Therefore it's probably limited to root now. To view and change the permissions and user/group, please make a long tap on the file and choose "Properties". There you can tap on "rwx" for the permissions, or "UID" for user/group name.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This means that the file should be readable by everyone, but cannot be changed except by the root user.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is a bug of Cyanogenmod 11! While the user has access to /storage/emulated/0, the root user does NOT have access to it!
Beta 2 therefore redirects to /storage/emulated/legacy if it cannot access /storage/emulated/0.
Please try it!
Beta 2 therefore redirects to /storage/emulated/legacy if it cannot access /storage/emulated/0.
Please try it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No it's not. I have a Nexus 7 (2012) with the official 4.4 release from Google, and it does NOT have this bug - the root user does have read and write access to /storage/emulated/0
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I don't understand. Please be more specific of what doesn't work. What are you trying to do in /system ?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I see. You may not have the rights to read or write the file, or write to the folder. Please try setting the file attributes via properties.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: