permissions on hotplug media

Horst Schlonz horst.schlonz at gmx.de
Sat Jun 4 21:12:09 UTC 2005


Am Samstag, den 04.06.2005, 23:42 +0300 schrieb ZIYAD A. M. AL-BATLY:
> On Sat, 2005-06-04 at 16:49 +0200, Horst Schlonz wrote:
> > removeable fat-media gets automounted with umask=077 an i plug it in.
> > nobody but me can access the files, so i cannot share. this is bad.
> > where can i change the setting to umask=000? i've found nothing
> > in /etc/hotplug.
> > 
> > 
> You could add the following line to “/etc/fstab”:
> /dev/sda1 /media/sda1 auto defaults,noauto,noatime,nodev,noexec,nosuid,user,gid=plugdiv,dmask=007,fmask=117 0 0
> 
> and create the directory “/media/sda1”.
>
> I hope this help you.

not really, i think this just breaks the whole ubuntu automounting.





More information about the ubuntu-users mailing list