Suggestion: chmod 644 when copying to /system/app

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
siealex
Senior Member
Senior Member
Posts: 278
Joined: 2009-03-22, 16:36 UTC

Suggestion: chmod 644 when copying to /system/app

Post by *siealex »

When I copy or move an apk to /system/app, TC sets permissions to 600. Is it possible to change them to 644 automatically? Almost all files in /system/app must have 644 permissions.
Samsung Galaxy Nexus, Paranoid Android (Cyanogen-based 4.1.1), root method.
We are not so S.M.A.R.T. as we imagine...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC doesn't set any permissions when copying - it leaves that to the system. To my knowledge, they are somehow inherited from the folder in which the new file is created. Try setting the "read" permission for group and other to the folder /system/app.
Author of Total Commander
https://www.ghisler.com
mankokoma
Junior Member
Junior Member
Posts: 20
Joined: 2011-06-14, 08:46 UTC

Post by *mankokoma »

we discussed this issue already...
http://ghisler.ch/board/viewtopic.php?t=32669&start=0&postdays=0&postorder=asc&highlight=
Maybe there is a solution with mount options uid, gid.
I never tried... my workaround is a shell script run by "smanager" to chmod files in a folder.
BTW, just coming mind, that also TC is able to run sh...
Post Reply