1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

Update "*securitymask* docs to match the code.

Jeremy.
(This used to be commit f1fd69d9b5)
This commit is contained in:
Jeremy Allison 2007-08-23 19:50:44 +00:00 committed by Gerald W. Carter
parent b127aae164
commit 41bb30bde0
2 changed files with 10 additions and 10 deletions

View File

@ -4,19 +4,19 @@
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This parameter controls what UNIX permission bits
can be modified when a Windows NT client is manipulating the UNIX
can be set when a Windows NT client is manipulating the UNIX
permission on a directory using the native NT security dialog
box.</para>
<para>
This parameter is applied as a mask (AND'ed with) to the changed permission bits, thus preventing any bits not
in this mask from being modified. Make sure not to mix up this parameter with <smbconfoption name="force
This parameter is applied as a mask (AND'ed with) to the incoming permission bits, thus preventing any bits not
in this mask from being set. Make sure not to mix up this parameter with <smbconfoption name="force
directory security mode"/>, which works similar like this one but uses logical OR instead of AND.
Essentially, zero bits in this mask may be treated as a set of bits the user is not allowed to change.
Essentially, zero bits in this mask are a set of bits that will always be set to zero.
</para>
<para>If not set explicitly this parameter is set to 0777
meaning a user is allowed to modify all the user/group/world
meaning a user is allowed to set all the user/group/world
permissions on a directory.</para>
<para><emphasis>Note</emphasis> that users who can access the

View File

@ -4,22 +4,22 @@
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>
This parameter controls what UNIX permission bits can be modified when a Windows NT client is manipulating the
This parameter controls what UNIX permission bits can be set when a Windows NT client is manipulating the
UNIX permission on a file using the native NT security dialog box.
</para>
<para>
This parameter is applied as a mask (AND'ed with) to the changed permission bits, thus preventing any bits not
in this mask from being modified. Make sure not to mix up this parameter with <smbconfoption name="force
This parameter is applied as a mask (AND'ed with) to the incoming permission bits, thus preventing any bits not
in this mask from being set. Make sure not to mix up this parameter with <smbconfoption name="force
security mode"/>, which works in a manner similar to this one but uses a logical OR instead of an AND.
</para>
<para>
Essentially, zero bits in this mask may be treated as a set of bits the user is not allowed to change.
Essentially, zero bits in this mask are a set of bits that will always be set to zero.
</para>
<para>
If not set explicitly this parameter is 0777, allowing a user to modify all the user/group/world permissions on a file.
If not set explicitly this parameter is 0777, allowing a user to set all the user/group/world permissions on a file.
</para>
<para><emphasis>