mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
Remove "store create time" code, cause create time to be stored
in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy.
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
<samba:parameter name="store create time"
|
||||
context="S"
|
||||
type="boolean"
|
||||
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
||||
<description>
|
||||
<para>
|
||||
If this parameter is set Samba attempts to store a create timestamp on any file or directory created by Samba
|
||||
in a filesystem extended attribute. The data is written as an 8 byte Windows timestamp in little-endian form
|
||||
in attribute named "user.DosTimestamps". This extended attribute is explicitly hidden from smbd clients requesting an
|
||||
EA list. 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>
|
@ -14,6 +14,13 @@
|
||||
attribute named "user.DOSATTRIB". This extended attribute is explicitly hidden from smbd clients requesting an
|
||||
EA list. 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.
|
||||
|
||||
In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store
|
||||
the create time for a file as well as the DOS attributes. This is done in a backwards compatible
|
||||
way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this
|
||||
extended attribute by earlier versions of Samba, but they will not be able to read the create
|
||||
time stored there. Storing the create time separately from the normal filesystem meta-data
|
||||
allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem.
|
||||
</para>
|
||||
</description>
|
||||
<value type="default">no</value>
|
||||
|
Reference in New Issue
Block a user