[Pkg-samba-maint] Bug#580797: [samba] mtime not preserved when "cp -p" to CIFS share

Corey Wright undefined at pobox.com
Sat May 8 17:28:06 UTC 2010


Package: samba
Version: 2:3.2.5-4lenny9
Severity: normal
Tags: patch

"cp -a ${FILE} ${CIFS_SHARE}/" does not maintain the original file's mtime
when copied (and possibly "moved", but i can't remember) to a samba CIFS
share.

client:
 * ubuntu hardy (amd64)
 * debian lenny (i386)

server:
 * debian lenny (amd64)

i've suffered from this bug ever since lenny was released, but found
nothing a year ago.  a week ago i finally got fed up with it and did some
hard searching finding this upstream bug report.

https://bugzilla.samba.org/show_bug.cgi?id=6520

attached is my patch to 2:3.2.5-4lenny9 which i've successfully tested and
used for the last week in three different installations.

corey
-- 
undefined at pobox.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba_package_preserve_modtime.patch
Type: text/x-diff
Size: 3145 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20100508/24b92b5c/attachment.patch>


More information about the Pkg-samba-maint mailing list