summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2018-01-10 15:56:08 -0700
committerKarolin Seeger <kseeger@samba.org>2018-01-25 15:04:21 +0100
commit2d4987b24210044287c91289a0f67618bacd7335 (patch)
tree804cd91c31e770211379a36757413cd9322c46dd /packaging
parent1844f8906e8a273a6a9c77b21a4edee9c1fb18af (diff)
downloadsamba-2d4987b24210044287c91289a0f67618bacd7335.tar.gz
Remove file system sharemode before calling unlink
GPFS implements the DENY_DELETE sharemode, which prevents unlink() from deleting the file.. This causes the problem that deleting a file through "delete on close" fails, as the code in close.c first calls unlink() and only later removes the file system sharemode. Fix this by removing the file system sharemode before calling unlink(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=13217 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Christof Schmitt <cs@samba.org> Autobuild-Date(master): Wed Jan 17 01:31:53 CET 2018 on sn-devel-144 (cherry picked from commit e77f8e4628ba868f09cbcf2970caac6c69fe080c)
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions