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

[Bug] Changing owner/group with devel-su [answered]

asked 2014-11-25 17:08:44 +0300

Odorobo gravatar image

updated 2016-10-19 16:23:09 +0300

jiit gravatar image

Found this bug when i tried to backup savefiles of an android game. So i went to the game directory through File Browser and got "No permission to read the folder". In "Properties" i found out the owner and the group of the directory is "10015" (whom i couldn't find with "id" later). Mmkay, so I switched to DevMode, set a password for devel-su and ran the SSH. Using chown nemo, checking the results and the owner was changed to nemo. Then using chown 10015:nemo, checking the results and thats where the strange happened: group was changed to nemo but the owner was set back to 10015. So i though i should let you know about this.

UPD: now the game won't start. Hope it will when i set owner/group back. UPD2: it did.

Also: why those 1000* owners can't be seen with "id"? Why i cannot browse folders with owner "root" in DevMode with File Browser?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Odorobo
close date 2014-11-25 18:40:11.346246

1 Answer

Sort by » oldest newest most voted
3

answered 2014-11-25 18:13:58 +0300

rudi gravatar image

updated 2014-11-25 18:15:10 +0300

that's not a bug
'chown nemo file' changes the ownership of file to nemo
'chown nemo:sys file' changes the ownership of file to nemo and group to sys
check 'chown --help'
android apps are assigned to an userid like 10015 - without username in passwd
you should be able to browse the directories e.g. with filetug-root

edit flag offensive delete publish link more

Comments

1

@rudi: Thanks.

Odorobo ( 2014-11-25 18:39:57 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-11-25 17:08:44 +0300

Seen: 220 times

Last updated: Nov 25 '14