summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-10-17 23:34:05 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:09 -0500
commit0d09f0271333b8fd1026a9559fd5e8ec790ece11 (patch)
tree2aa20f6c78f832cf97dcf87ced5e9c9acd8f4e01
parentc178dfa1fbf19fa1e808084f60c3ebe001173667 (diff)
downloadsamba-0d09f0271333b8fd1026a9559fd5e8ec790ece11.tar.gz
samba-0d09f0271333b8fd1026a9559fd5e8ec790ece11.tar.bz2
samba-0d09f0271333b8fd1026a9559fd5e8ec790ece11.zip
Adding map read only docs.
(This used to be commit 121dc1756071728385e7c3abf0603b7c09d0009e)
-rw-r--r--docs/smbdotconf/filename/mapreadonly.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/smbdotconf/filename/mapreadonly.xml b/docs/smbdotconf/filename/mapreadonly.xml
new file mode 100644
index 0000000000..b223da1afe
--- /dev/null
+++ b/docs/smbdotconf/filename/mapreadonly.xml
@@ -0,0 +1,40 @@
+<samba:parameter name="map read only"
+ context="S"
+ type="enum"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>
+ This controls how the DOS read only attribute should be
+ mapped.
+ </para>
+
+ <para>
+ This parameter can take three different values, which tell <citerefentry><refentrytitle>smbd</refentrytitle>
+ <manvolnum>8</manvolnum></citerefentry> how to display the read only attribute on files, where either
+ <smbconfoption name="store dos attributes"/> is set to <constant>No</constant>, or no extended attribute is
+ present.
+ </para>
+
+ <para>The three settings are :</para>
+
+ <itemizedlist>
+ <listitem><para>
+ <constant>Yes</constant> - The read only DOS attribute is mapped to the inverse of the user
+ write bit in the unix permission mode
+ </para></listitem>
+
+ <listitem><para>
+ <constant>Permissions</constant> - The read only DOS attribute is mapped to the effective permissions of
+ the connecting user, as evaluated by <citerefentry><refentrytitle>smbd</refentrytitle>
+ <manvolnum>8</manvolnum></citerefentry> by reading the unix permissions and POSIX ACL (if present).
+ </para></listitem>
+
+ <listitem><para>
+ <constant>No</constant> - The read only DOS attribute is unaffected by permissions, and can only be set by
+ the <smbconfoption name="store dos attributes"/> method. This may be useful for exporting mounted CDs.
+ </para></listitem>
+ </itemizedlist>
+
+</description>
+<value type="default">yes</value>
+</samba:parameter>