summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/filename/storedosattributes.xml
blob: e6075c4ccf06a78039f362c86c733a93c5b7836c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<samba:parameter name="store dos attributes"
                 context="S"
		 type="boolean"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
	<para>
	If this parameter is set Samba no longer attempts to map DOS attributes like SYSTEM, HIDDEN, 
	ARCHIVE or READ-ONLY to UNIX permission bits (such as the <smbconfoption name="map hidden"/>. 
	Instead, DOS attributes will be stored onto an extended attribute in the UNIX filesystem, 
	associated with the file or directory. For this to operate correctly, the parameters 
	<smbconfoption name="map hidden"/>, <smbconfoption name="map system"/>, 
	<smbconfoption name="map archive"/> must be set to off. This parameter writes the DOS 
	attributes as a string into the extended attribute named "user.DOSATTRIB". This extended attribute
	is explicitly hidden from smbd clients requesting an EA list.i On Linux the filesystem must have 
	been mounted with the mount option user_xattr in order for extended attributes to work, also
	extended attributes must be compiled into the Linux kernel.
	</para>
</description>
<value type="default">no</value>
</samba:parameter>