1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00
Christof Schmitt e77f8e4628 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
2018-01-17 01:31:53 +01:00
..
2017-12-12 20:37:08 +01:00
2017-11-11 04:49:27 +01:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2017-12-05 04:58:26 +01:00
2017-11-11 04:49:27 +01:00
2017-12-21 19:12:07 +01:00
2017-12-05 04:58:26 +01:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2017-11-11 04:49:27 +01:00