jeudi 5 février 2015

CM12 Sdcard File Permissions topic






Hello guys, how can I create a folder on the sdcard, which is only available via the KeePass App?


Code:


root@android:/storage/sdcard0 # ls -l /data/data/ | grep com.android.keepass                                     
drwxr-x--x u0_a69  u0_a69            2015-02-05 13:55 com.android.keepass


I tried:

Code:


mkdir -p /storage/sdcard0/test
chown u0_a69:u0_a69 /storage/sdcard0/test
chown u0_a69:sdcard_r /storage/sdcard0/tes
chmod 700  /storage/sdcard0/test


but this does not work. the permissions of the folder test is always root:sdcard_r with 770.
How can I change this behavior?

Thanks Elvin






Aucun commentaire:

Enregistrer un commentaire