FORUMS

set permissions for lancher in updater-script?

4,433 posts
Thanks Meter: 1,835
 
By voetbalremco, Recognized Developer on 6th April 2012, 11:06 AM
Post Reply Subscribe to Thread Email Thread
hey, I could use some help.
im theming currently, but dunno how to set permissions in an updater-script for my modded touchwiz.
the command should be :

set_perm(uid, gid, mode, "pathtofile");

so I made it:

set_perm(uid, gid, mode, "/system/app/touchwiz30launcher.apk");

but where do UIT,GID,MODE stand for?
the permissions should be rw - r - r
 
 
6th May 2012, 12:46 AM |#2  
czkwg8's Avatar
Senior Member
Thanks Meter: 49
 
More
Quote:
Originally Posted by voetbalremco

hey, I could use some help.
im theming currently, but dunno how to set permissions in an updater-script for my modded touchwiz.
the command should be :

set_perm(uid, gid, mode, "pathtofile");

so I made it:

set_perm(uid, gid, mode, "/system/app/touchwiz30launcher.apk");

but where do UIT,GID,MODE stand for?
the permissions should be rw - r - r

you neednt to write this,it will set permission automatically.

中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes