[Samba] Mac OSX doesn't retain file timestamp when copying to SAMBA share

Troy Kenah troy at spaceape.com.au
Mon Jan 15 21:30:06 GMT 2007


Hi All,

I'm not sure what's causing this but every time I copy a file from one 
of the Macs (details below) to the Samba server the file timestamp is 
changed to the copy time rather than retaining the last modified time. 
Does anyone know what could be causing this?

Systems:
Mac OSX (versions 10.3.x -> 10.4.x)
Windows 2000 Professional
Solaris 10 running Samba 3.0.11
 
Tests...
Mac OSX  ->  Mac OSX  retains timestamp
Mac OSX  ->  W2K share retains timestamp
Mac OSX  ->  Solaris Samba share REPLACES timestamp with copy time
W2K -> Solaris Samba share retains timestamp

smb.conf
[global]
   workgroup = OTP
   server string = OTP Server
   security = share
   load printers = yes
   log file = /usr/local/samba/var/log.%m
   max log size = 50
   socket options = TCP_NODELAY
   dns proxy = no
[otpserver]
   comment = OTP Server
   browseable = no
   writable = yes
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes
[otpdata]
   comment = OTP Data
   path = /otp/Shared
   guest ok = yes
   read only = no
   writable = yes
   public = yes
[ftpdata]
   comment = FTP Data
   path = /otp/user/guest
   guest ok = yes
   read only = no
   writable = yes
   public = yes


Regards,
Troy.
 


More information about the samba mailing list