SAMBA file system permissions
Jeff Hogg
tastin at catchnet.net
Thu Mar 22 20:00:09 UTC 2007
Andy Allen wrote:
> I'm mounting a SAMBA file system for read/write access from my RedHat 9
> box, but I have to be root to write to it, which is a pain! I've got the
> following line in my fstab, using dmask=000 to try to set permissions to
> 777, but it doesn't work and the permissions are always 755:
>
> //server1/data_dir /home/andy/data_dir smbfs
> username=andy,password=abc123,dmask=000 0 0
>
Hallo Andy,
Your probably running into the problem of your base file system using
a umask of 022. You will have to reset that, or modify the equivalent
umask setting with Samba as well. You should add create mask = 777 if
you want to go that route. Hope this helps.
Jeff Hogg
More information about the redhat-list
mailing list