Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,276 Members 44,631 Now Online
XDA Developers Android and Mobile Development Forum

set permissions for lancher in updater-script?

Tip us?
 
voetbalremco
Old
#1  
voetbalremco's Avatar
Recognized Developer - OP
Thanks Meter 1768
Posts: 4,151
Join Date: Jan 2012
Location: gelderland

 
DONATE TO ME
Default set permissions for lancher in updater-script?

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
Devices:
iPad 3rd gen. 16GB Wifi
iOcean X7 Youth
Samsung Galaxy Gio

buy me a beer if you like my work
 
czkwg8
Old
#2  
czkwg8's Avatar
Senior Member
Thanks Meter 49
Posts: 240
Join Date: Nov 2011
Location: Zhanjiang
Quote:
Originally Posted by voetbalremco View Post
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!)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes