:: Re: [DNG] unstable ownership of mou…
Página Principal
Delete this message
Reply to this message
Autor: tempforever
Data:  
Para: dng
Assunto: Re: [DNG] unstable ownership of mount point
Haines Brown via Dng wrote:
> I mount the key:
>
>     $ sudo mount /dev/sdc1 /media/working

>

...
> The mount command creates the strange usbhd-sdc1 mount point
> and mounts /dev/sdc1 on it as well as on the working mount
> point. /dev/sdc1 is mount twice:


I don't believe your mount command did that.  Do you have something in
place to auto-mount USB devices?

> Also the owner of the working directory by mounting /dev/sdc1 becomes
> root:users,
>

...
> I cannnot do
>
>     $ sudo chown haines:haines working
>     chown: changing ownership of 'working': Operation not permitted


I have found, for vfat, the following mount options work well for giving
the user full permissions:
mount -o noatime,uid=$UID,fmask=0111,dmask=0000 <partition> <mountpoint>

In your case, replace <partition> with /dev/sdc1  and <mountpoint> with
/media/working

Hope this helps!