[Samba] smbmount rights question

Urban Widmark urban at teststation.com
Thu Feb 21 14:11:37 GMT 2002

On Wed, 20 Feb 2002, Rich Peters wrote:

> Hello,
> the man smbmount doesnt indicate the format of the fmask and dmask options.
> Is there a sample setting somewhere which enables the user to write and
> create directories?

It's the same as the numerical format used by chmod. Or see the st_mode
flags in your fstat manpage. For example:
0775 gives owner and group "rwx" and others get "r-x"

"mask" is a bad name, it should have been "mode".

For smbfs you may also want to specify through uid/gid who the owner and
group are.


More information about the samba mailing list