Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

set permissions for lancher in updater-script?

OP voetbalremco

6th April 2012, 12:06 PM   |  #1  
voetbalremco's Avatar
OP Recognized Developer
Flag gelderland
Thanks Meter: 1,780
 
4,218 posts
Join Date:Joined: Jan 2012
Donate to Me
More
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, 01:46 AM   |  #2  
czkwg8's Avatar
Senior Member
Flag Zhanjiang
Thanks Meter: 49
 
240 posts
Join Date:Joined: Nov 2011
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes