Page 1 of 1

Suggestion: chmod 644 when copying to /system/app

Posted: 2012-10-02, 10:23 UTC
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.

Posted: 2012-10-04, 12:50 UTC
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.

Posted: 2012-10-05, 19:43 UTC
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...