Jeff Mello
2006-Jul-17 13:41 UTC
[Samba] Changing timestamp when copying files to Samba share
Hi, Is there some way of doing this? When I copy a file from Windows XP onto a Samba share, I want it to reflect the current time, instead of preserving the windows "Date Modified" time. This works by default in Unix. Windows preserves the timestamp by default. 'dos filetimes' and 'dos filemode' in smb.conf don't seem to do the trick. Any ideas? Thanks in advance for any help. Jeff Here's my setup: Samba 3.0.7 running on Gentoo Linux system. Output from 'testparm' command (with small edits to protect the innocent): [global] workgroup = WINDOWS security = DOMAIN log level = 4 log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No wins server = <winsIPaddress> passdb expand explicit = No idmap uid = 10000-20000 idmap gid = 10000-20000 force group = mygroup create mask = 0664 directory mask = 0775 inherit owner = Yes [myfolder] comment = My Folder path = /web/virtual/htdocs/myfolder valid users = WINDOWS\medfield read only = No
Maybe Matching Threads
- Want timestamp to change when copying from WinXP to Samba share
- My Samba share changes the timestamp when copying files to it.. (Preserve Time)
- Strange behaviour with rsync and mounted truecrypt volume
- update R packages in local repos
- Network initialization failed