chown
on a sdcard directory impossible...
chown
on a sdcard directory impossible...
Hi,
I would like to change the owner of a directory on the sdcard
/sdcard/aDirectory
I have a terminal installed on my Android 10 (LineageOS 17)
com.android.terminal
sudo
is not present so I use su
and it works.
su
#Terminal was granted Superuser rights
cd /sdcard
chown 10:10 aDirectory
#I don't get any error message.
stat aDirectory
#Uid (0/root)
So the owner stay root no matter what I'm doing, any ideas ?
You're viewing a single thread.
All comments
11
comments
If you want to change the owner of fat partition, you can do it while mounting, e.g.
mount -t fat -o uid=10,gid=10 ......
10 0 Reply
11
comments
Scroll to top