[Samba] mode=777 does not work as fstab option

Urban Widmark urban at teststation.com
Tue Aug 6 09:47:03 GMT 2002


On Sat, 27 Jul 2002, David Cougle wrote:

> I have this as fstab entry
> //host/public      /mnt/home          smbfs 
> auto,uid=user,umask=000,defaults,username=Perkins,password=
> 
> 
> see, i've had to put uid=user just to get it owned by user user, so i could 
> edit files
> i put mode=777, but it does nothing.
> i want to let all users read/write/create/delete

Not sure what is happening, but smbmnt also looks at the umask of the user
when mounting. I also wonder if it isn't backwards and that the "mask" is 
really the mode. Try fmask=0777,dmask=0777 ...

(Neither umask nor mode are options that smbmount recognizes, see the 
 manpage)

/Urban





More information about the samba mailing list