Clarification on smb.conf man-page needed (doc-bug?)
jra at samba.org
Sat Feb 3 20:05:13 GMT 2007
On Sat, Feb 03, 2007 at 07:29:10PM +0000, Anders Karlsson wrote:
> Hi there,
> I have a question on the smb.conf man-page and the behaviour of 'create
> mask' plus 'security mask'. The wording in the man page suggests that
> 'create mask' only influences permissions at file creation time, and
> that 'security mask' controls what bits that later can be changed.
Yes, that's the intent.
> However, the observed behaviour, when mounting the share with
> 'mount.cifs //localhost/share /mnt/test -o setuids,user=cifs' and user
> cifs is set as admin user for the share is as follows;
> * the bits set in the 'security mask' become bits you can not change
> with chmod.
> * bits not set in 'create mask' become bits you can not change with
That's a bug. I've fixed it in SVN and it'll be fixed
in the next stable release.
More information about the samba-technical