From: Jeremy Allison Date: Wed, 19 Oct 2005 20:11:44 +0000 (+0000) Subject: Added a few clarifications on map readonly parameter. X-Git-Tag: samba-3.3.0pre1~1868 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05fd3a9df9f8e2bd22bb88bef8e762f8653e3659;p=thirdparty%2Fsamba.git Added a few clarifications on map readonly parameter. Jeremy. --- diff --git a/docs/smbdotconf/filename/mapreadonly.xml b/docs/smbdotconf/filename/mapreadonly.xml index b223da1afe7..2f48e7987c1 100644 --- a/docs/smbdotconf/filename/mapreadonly.xml +++ b/docs/smbdotconf/filename/mapreadonly.xml @@ -1,18 +1,18 @@ - This controls how the DOS read only attribute should be - mapped. + This controls how the DOS read only attribute should be mapped from a UNIX filesystem. This parameter can take three different values, which tell smbd 8 how to display the read only attribute on files, where either is set to No, or no extended attribute is - present. + present. If is set to yes then this + parameter is ignored. This is a new parameter introduced in Samba version 3.0.21. The three settings are : @@ -20,18 +20,21 @@ Yes - The read only DOS attribute is mapped to the inverse of the user - write bit in the unix permission mode + or owner write bit in the unix permission mode set. If the owner write bit is not set, the + read only attribute is reported as being set on the file. Permissions - The read only DOS attribute is mapped to the effective permissions of the connecting user, as evaluated by smbd 8 by reading the unix permissions and POSIX ACL (if present). + If the connecting user doesn't have permissions to read the file, the read only attribute + is reported as being set on the file. No - The read only DOS attribute is unaffected by permissions, and can only be set by - the method. This may be useful for exporting mounted CDs. + the method. This may be useful for exporting mounted CDs.