Fix bug #7987 - ACL can get lost when files are being renamed.
authorJeremy Allison <jra@samba.org>
Wed, 6 Apr 2011 00:26:00 +0000 (17:26 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:57:12 +0000 (12:57 +0200)
commit264ed2505845d683d158cc7a6c3be8b3f54fdc39
treea051d2b3d9f841dd940871495885252ace67231f
parent192f62bd8249668f1037282b184873f06ea6d8eb
Fix bug #7987 - ACL can get lost when files are being renamed.

There is no reason for smbd with Windows ACLs to use chmod
or fchmod unless it's a file opened with UNIX extensions or
with posix pathnames.
(cherry picked from commit bea18a55252a06fd1da005a4f57d4d4dd89acaaf)
source3/modules/vfs_acl_common.c
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_acl_xattr.c