Comment 19 for bug 276472

Revision history for this message
rduke15 (rduke15) wrote : Re: cp -p on CIFS mount does not preserve timestamp

Update, links and workaround:

This bug is still present on Jaunty 9.04 with the following versions:
$ uname -srvm
Linux 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009 i686
$ mount.cifs -V
mount.cifs version: 1.12-3.3.2
$ dpkg -l coreutils
ii coreutils 6.10-6ubuntu1 The GNU core utilities
$ dpkg -l samba
ii samba 2:3.3.2-1ubuntu3.2 SMB/CIFS file, print, and login server for Unix

( remote Samba server is Debian version 3.0.24-6etch10 )

This bug seems to have been both a coreutils bug and a samba bug. However, both are supposed to be fixed now.
See these:
  http://bugzilla.kernel.org/show_bug.cgi?id=6127
  http://bugzilla.kernel.org/show_bug.cgi?id=8437
  https://bugzilla.samba.org/show_bug.cgi?id=6520

A workaround seems to be to disable unix extensions. I understand it can be done on the server side, but I do it only on the client side by using the "nounix" mount option ( mount -o nounix,... ).