diff options
author | Christof Schmitt <cs@samba.org> | 2018-01-10 15:56:08 -0700 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2018-01-17 01:31:53 +0100 |
commit | e77f8e4628ba868f09cbcf2970caac6c69fe080c (patch) | |
tree | 8dd2d2e02496d5b0d95455676bd0e7781717d410 /source3/wscript | |
parent | 8224a3d6a03aeb4648bb624f775b139115567a8f (diff) | |
download | samba-e77f8e4628ba868f09cbcf2970caac6c69fe080c.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
Diffstat (limited to 'source3/wscript')
0 files changed, 0 insertions, 0 deletions