1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3
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
..
auth s3:rpc_client: Clenup copy_netr_SamInfo3() code 2018-01-15 22:16:13 +01:00
build
client s3: client: Rename <oldname> to <link_target> in cmd_symlink() and cli_posix_symlink(). 2017-11-30 15:30:23 +01:00
exports
groupdb Correct "errror" typos. 2017-02-22 08:26:22 +01:00
include s3:vfs: remove unused smb_vfs_call_{is,set}_offline() prototypes 2018-01-13 08:24:08 +01:00
intl lib: Give util_paths.c its own header 2017-06-24 01:21:10 +02:00
lib s3:g_lock: keep old mylock on error and don't store new mylock on error 2018-01-10 01:01:23 +01:00
libads s3:libads: net ads keytab list fails with "Key table name malformed" 2017-11-29 21:48:17 +01:00
libgpo/gpext gpo: fix the building of gpext to only once 2017-11-20 21:41:14 +01:00
libnet libnet_join: fix "net rpc oldjoin" 2017-11-18 00:09:16 +01:00
librpc smbd: Fix channel sequence number checks for long-running requests 2018-01-14 10:26:05 +01:00
libsmb source3/libsmb/unexpected.c set socket close on exec 2017-12-18 04:38:20 +01:00
locale pam_winbind: initial Turkish translation 2017-11-15 13:52:05 +01:00
locking s3/vfs: rename SMB_VFS_STRICT_LOCK to SMB_VFS_STRICT_LOCK_CHECK 2017-07-11 03:37:44 +02:00
modules vfs_default: use VFS statvfs macro in fs_capabilities 2018-01-13 03:03:46 +01:00
nmbd lib: Remove unused serverid.tdb 2017-12-05 04:58:26 +01:00
param gpo: Add the winbind call to gpupdate 2018-01-13 22:38:05 +01:00
passdb pdb_samba_dsdb: set PDB_CAP_TRUSTED_DOMAINS_EX 2018-01-13 12:55:07 +01:00
printing lib: Remove unused serverid.tdb 2017-12-05 04:58:26 +01:00
profile s3-profile: reduce dependencies of smbprofile.h 2016-03-28 20:45:16 +02:00
registry s3-rpc_cli: add winreg_add_core_driver() 2017-05-09 16:43:13 +02:00
rpc_client s3:rpc_client: Clenup copy_netr_SamInfo3() code 2018-01-15 22:16:13 +01:00
rpc_server srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
rpcclient s3/rpc_client: return validation from rpccli_netlogon functions 2018-01-13 08:24:08 +01:00
script s3:test: Always validate the join after changing the secret 2018-01-14 17:38:26 +01:00
selftest tests: The pthreadpooltests do not need a full environment 2018-01-06 00:07:17 +01:00
services srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
smbd Remove file system sharemode before calling unlink 2018-01-17 01:31:53 +01:00
torture s3/torture/pdbtest: delete trusted domain at test end 2018-01-13 12:55:07 +01:00
utils source3/utils/smbfilter.c set socket close on exec 2017-12-18 04:38:20 +01:00
web
winbindd s3:rpc_client: Clenup copy_netr_SamInfo3() code 2018-01-15 22:16:13 +01:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript vfs_error_inject: Add new module 2017-12-15 21:43:19 +01:00
wscript_build torture: Check messaging_send_all 2017-12-12 20:37:08 +01:00
wscript_configure_system_ncurses