permision denied to write in a partition mounted at startup

ZIYAD A. M. AL-BATLY zamb at saudi.net.sa
Mon Jul 4 17:56:17 UTC 2005


On Mon, 2005-07-04 at 18:53 +0200, albi at scii.nl wrote:
> On Mon, 04 Jul 2005 18:41:03 +0200
> manou <amimusa at gmail.com> wrote:
> 
> > Hi, I have a fat32 partition that i mount at the startup since i have
> > put
> > /dev/hda5 vfat defaults 0 0
> > and i've tried also with
> > /dev/hda5 vfat user,auto,rw
> > 
> > at /etc/fstab file.
> > 
> > when i log in as a normal user i can't write to this particion because
> > only root has permision, but i want everybody can write.
> 
> try :
> /dev/hda5 vfat user,rw,umask=000
> 
> 
Better yet:
/dev/hda5 /mnt/hda5 vfat defaults,noexec,dmask=000,fmask=111

(Files wont have the execute-bit set, while directories will.  The
'noexec' is for security reasons only.  See 'mount' manual for more
information.)

Ziyad.




More information about the ubuntu-users mailing list