Fix bug #7693 - smbd changing mode of files on rename
commit44c7f7da21fdc6fa13e16859767f63674b9ada2d
authorJeremy Allison <jra@samba.org>
Wed, 22 Sep 2010 19:26:13 +0000 (22 12:26 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 Sep 2010 19:29:03 +0000 (27 21:29 +0200)
tree163128a63333c2fef784ad30b0883b5fe82a20f6
parent2a284c42cd06a740cb1b15af0c3d77f667b7dad1
Fix bug #7693 - smbd changing mode of files on rename

When using "map archive", don't change the archive bit on
renames or writes with UNIX extensions turned on.

Jeremy.
(cherry picked from commit 24f9210fe1e2280e08a7b2dd2cb33e7af4c1c002)
source3/smbd/fileio.c
source3/smbd/reply.c