[Samba] Preserve create/modify dates and attributes in samba

Jeremy Allison jra at samba.org
Mon Jun 21 14:04:27 MDT 2010


On Thu, Jun 17, 2010 at 04:18:40PM -0400, Derek Lewis wrote:
> I have Samba 3.4.7 running with basic shares under Ubuntu 10.04, though I am interested in configuring Samba to store the Windows file attributes and create/modify dates.  I have found some hints to this being done though no details.  I have experimented with NTFS and found that most of the attributes and modified/accessed dates are preserved.

Mount the filesystem with extended attributes supported,
then set:

	ea support = yes
	store dos attributes = yes
	map readonly = no
	map archive = no
	map system = no

in the [global] section of your smb.conf.

Jeremy.


More information about the samba mailing list