s3: Fix shadow-copy module for drag&drop from a snapshot
authorVolker Lendecke <vl@samba.org>
Thu, 16 Dec 2010 11:26:02 +0000 (04:26 -0700)
committerVolker Lendecke <vl@samba.org>
Thu, 16 Dec 2010 11:30:06 +0000 (12:30 +0100)
commit1dcb4ccc658bffb3dfa7a31506b92f338b4c945b
tree0bec434f97e1820de7137ef11451f584d268ba63
parent936cfb0c62233d2a8b2d3097454b6e7208f3f68c
s3: Fix shadow-copy module for drag&drop from a snapshot

We have to return NT_STATUS_NOT_SAME_DEVICE to trigger the Windows client to
start a copy itself. Unbeknownst to us via the ACLs snapshots are read-only, so
a rename would trigger a EACCES. Unfortunately the MacOS/X finder does not do
the smart NOT_SAME_DEVICE fallback that Windows does.
source3/modules/vfs_shadow_copy2.c