[Samba] smbmount rights question

Rich Peters rpeters at micro-magic.com
Fri Feb 22 00:03:03 GMT 2002


Urban,

thanks for the reply.  I suspected it would be that format but was thrown
off track by the "mask" name.

regards,
Rich Peters


-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of Urban Widmark
Sent: Thursday, February 21, 2002 2:05 PM
To: Rich Peters
Cc: samba at lists.samba.org
Subject: Re: [Samba] smbmount rights question


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.

/Urban


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list