permissions on hotplug media
ZIYAD A. M. AL-BATLY
zamb at saudi.net.sa
Sat Jun 4 21:56:41 UTC 2005
On Sat, 2005-06-04 at 23:12 +0200, Horst Schlonz wrote:
> 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.
>
>
No it wont! And if it broke your's, then there's definitely some other
problem. CD-ROM media mountings is handled like this in Ubuntu. (I've
tried it myself with a disk image, and it works fine.)
Let us know what you get.
Ziyad.
More information about the ubuntu-users
mailing list