We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Ownership of files inside android_storage [answered]

asked 2020-01-15 13:05:16 +0200

pemek gravatar image

updated 2020-01-15 17:44:47 +0200

jovirkku gravatar image

Hi.

I messed up file ownership of all files in /home/nemo on my XA2. As I have reference in JollaC I restored all sailfish file ownerships but I do not know, what ownership is needed for android_storage files (new lxc based android support)?. Whether it is nemo:nemo, nemo:privileged, or some other (fancy) scheme.

Right now it seems all works good with nemo:nemo ownership of files, but I am not sure if something's gonna blow up in the future.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
1

answered 2020-01-15 14:04:33 +0200

lethe gravatar image

On my XA2 android_storage and most of its content is owned by media_rw/media_rw (1023/1023).

edit flag offensive delete publish link more

Comments

Thank you.

pemek ( 2020-01-15 15:13:56 +0200 )edit

Also, image files owned by group media_image, I don't have audio or video files in android_storage, but they probably should be owned by groups media_audio and media_video. And the ~/android_storage directory itself should be owned by media_rw:media_rw, and have permissions 770(all other directories have permissions 775). And according to /system/bin/ls -Zl, no selinux contexts.

0xe4524ffe ( 2020-01-15 16:27:27 +0200 )edit

Seems like android handles the ownership by itself, because they have reverted back after some time.

pemek ( 2020-01-16 15:34:21 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2020-01-15 13:05:16 +0200

Seen: 371 times

Last updated: Jan 15 '20