Having issues with your DietPi installation or found a bug? Post it here.
-
cmoulliard
- Posts: 39
- Joined: Tue Jan 19, 2021 11:51 am
Post
by cmoulliard »
Hi,
Why is it not possible to change the ownership on a mounted extFAT volume ?
Code: Select all
cat /etc/fstab
...
#----------------------------------------------------------------
# PHYSICAL DRIVES
#----------------------------------------------------------------
UUID=c699a629-c0d9-40d0-8e1b-be819f253617 / ext4 noatime,lazytime,rw 0 1
UUID=2e0b34b5-bdd1-4f5d-bc7c-8af0fb1879c0 /mnt/2e0b34b5-bdd1-4f5d-bc7c-8af0fb1879c0 ext4 noatime,lazytime,rw,nofail,noauto,x-systemd.automount
UUID=A2CB-3C1B /mnt/A2CB-3C1B exfat noatime,lazytime,rw,nofail,noauto,x-systemd.automount
and
root@DietPi:~# sudo chown -R dietpi:dietpi /mnt/A2CB-3C1B/
chown: changing ownership of '/mnt/A2CB-3C1B/': Operation not permitted
Cheers
Charles
-
Joulinar
- Posts: 3821
- Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar »
exFAT, as an extension of FAT, and does not support unix user permissions
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
cmoulliard
- Posts: 39
- Joined: Tue Jan 19, 2021 11:51 am
Post
by cmoulliard »
I found a workaround as described
https://stackoverflow.com/questions/255 ... -permitted which is : add uid and gid to the volume to be mounted
Code: Select all
UUID=A2CB-3C1B /mnt/A2CB-3C1B exfat noatime,lazytime,rw,nofail,noauto,x-systemd.automount,gid=1000,uid=1000
Do I have to open to ask to add a new parameter to the dietpi-driver-manager to support that ?
-
Joulinar
- Posts: 3821
- Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar »
feel free to open such a request
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team