From 1ff1597e1feb45fd54b0d8dc6d8eabc7ace9073a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 4 Dec 2012 15:47:06 -0800 Subject: Documentation fixes for bug #9462 - Users can not be given write permissions any more by default Ensure we don't apply the masks + force modes on security setting changes, only on create. Signed-off-by: Jeremy Allison Reviewed-by: Michael Adam --- docs-xml/smbdotconf/security/createmask.xml | 5 ----- docs-xml/smbdotconf/security/directorymask.xml | 5 ----- docs-xml/smbdotconf/security/directorysecuritymask.xml | 4 +--- docs-xml/smbdotconf/security/forcecreatemode.xml | 6 ------ docs-xml/smbdotconf/security/forcedirectorymode.xml | 6 ------ docs-xml/smbdotconf/security/forcedirectorysecuritymode.xml | 5 +---- docs-xml/smbdotconf/security/forcesecuritymode.xml | 5 +---- docs-xml/smbdotconf/security/securitymask.xml | 4 +--- 8 files changed, 4 insertions(+), 36 deletions(-) (limited to 'docs-xml') diff --git a/docs-xml/smbdotconf/security/createmask.xml b/docs-xml/smbdotconf/security/createmask.xml index 59e208dccd..5df07188d6 100644 --- a/docs-xml/smbdotconf/security/createmask.xml +++ b/docs-xml/smbdotconf/security/createmask.xml @@ -26,11 +26,6 @@ This parameter does not affect directory masks. See the parameter for details. - - - New in Samba 4.0.0. This mask is applied whenever permissions are changed on a file. To allow clients full control - over permission changes it should be set to 0777. - force create mode diff --git a/docs-xml/smbdotconf/security/directorymask.xml b/docs-xml/smbdotconf/security/directorymask.xml index 2ebfc16d14..b17625c95b 100644 --- a/docs-xml/smbdotconf/security/directorymask.xml +++ b/docs-xml/smbdotconf/security/directorymask.xml @@ -23,11 +23,6 @@ Following this Samba will bit-wise 'OR' the UNIX mode created from this parameter with the value of the parameter. This parameter is set to 000 by default (i.e. no extra mode bits are added). - - - New in Samba 4.0.0. This mask is applied whenever permissions are changed on a directory. To allow clients full control - over permission changes it should be set to 0777. - force directory mode diff --git a/docs-xml/smbdotconf/security/directorysecuritymask.xml b/docs-xml/smbdotconf/security/directorysecuritymask.xml index c5c8c65b2c..ad208f4e2a 100644 --- a/docs-xml/smbdotconf/security/directorysecuritymask.xml +++ b/docs-xml/smbdotconf/security/directorysecuritymask.xml @@ -5,9 +5,7 @@ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter has been removed for Samba 4.0.0. The parameter - is now used instead to mask - any permission bit changes on directories. + This parameter has been removed for Samba 4.0.0. diff --git a/docs-xml/smbdotconf/security/forcecreatemode.xml b/docs-xml/smbdotconf/security/forcecreatemode.xml index 5a57a294af..a3f1c2c105 100644 --- a/docs-xml/smbdotconf/security/forcecreatemode.xml +++ b/docs-xml/smbdotconf/security/forcecreatemode.xml @@ -10,12 +10,6 @@ mode after the mask set in the create mask parameter is applied. - - New in Samba 4.0.0. This mode is also 'OR'ed into the mode bits whenever - permissions are changed on a file, not just when the file is created. - This replaces the now removed force security mode. - - The example below would force all newly created files to have read and execute permissions set for 'group' and 'other' as well as the read/write/execute bits set for the 'user'. diff --git a/docs-xml/smbdotconf/security/forcedirectorymode.xml b/docs-xml/smbdotconf/security/forcedirectorymode.xml index e5b37ea611..7effc0e399 100644 --- a/docs-xml/smbdotconf/security/forcedirectorymode.xml +++ b/docs-xml/smbdotconf/security/forcedirectorymode.xml @@ -12,12 +12,6 @@ mask in the parameter directory mask is applied. - - New in Samba 4.0.0. This mode is also 'OR'ed into the mode bits whenever - permissions are changed on a directory, not just when the file is created. - This replaces the now removed force directory security mode. - - The example below would force all created directories to have read and execute permissions set for 'group' and 'other' as well as the read/write/execute bits set for the 'user'. diff --git a/docs-xml/smbdotconf/security/forcedirectorysecuritymode.xml b/docs-xml/smbdotconf/security/forcedirectorysecuritymode.xml index 3ea3b5c1e1..a45395d106 100644 --- a/docs-xml/smbdotconf/security/forcedirectorysecuritymode.xml +++ b/docs-xml/smbdotconf/security/forcedirectorysecuritymode.xml @@ -5,10 +5,7 @@ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter has been removed for Samba 4.0.0. The parameter - is now used instead to - force any permission changes on directories to include specific UNIX - permission bits. + This parameter has been removed for Samba 4.0.0. diff --git a/docs-xml/smbdotconf/security/forcesecuritymode.xml b/docs-xml/smbdotconf/security/forcesecuritymode.xml index 2568bccb4e..5a9479e899 100644 --- a/docs-xml/smbdotconf/security/forcesecuritymode.xml +++ b/docs-xml/smbdotconf/security/forcesecuritymode.xml @@ -5,10 +5,7 @@ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter has been removed for Samba 4.0.0. The parameter - is now used instead to - force any permission changes on files to include specific UNIX - permission bits. + This parameter has been removed for Samba 4.0.0. diff --git a/docs-xml/smbdotconf/security/securitymask.xml b/docs-xml/smbdotconf/security/securitymask.xml index cb7fcfa20f..e535d32982 100644 --- a/docs-xml/smbdotconf/security/securitymask.xml +++ b/docs-xml/smbdotconf/security/securitymask.xml @@ -5,9 +5,7 @@ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter has been removed for Samba 4.0.0. The parameter - is now used instead to mask - any permission bit changes on files. + This parameter has been removed for Samba 4.0.0. -- cgit