:: Re: [DNG] unstable ownership of mou…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Lorenz
Datum:  
To: Haines Brown
CC: dng
Betreff: Re: [DNG] unstable ownership of mount point
Hi,

Il giorno sab 2 mar 2024 alle ore 15:04 Haines Brown via Dng
<dng@???> ha scritto:
>
> How can the mount command change ownership of a mount point?

If I remember correctly, vfat does not understand permission so files are
always owned by root:root ; even if you manage to change the permission of
a file the filesystem doesn't know where to store this data, so the the setting
is not persistent.

but umask usually works for me, try

$ sudo mount -o umask=000 /dev/sdc1 /media/working

Lorenzo

>User owns
> its parent directory:
>
>     $ ls -la | grep media
>     drwxr-xr-x   5 haines haines  4096 Mar  2 08:38 media

>
>
> --
>
>      Haines Brown
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng