summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_acl_xattr.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-01-12 16:04:44 -0800
committerJeremy Allison <jra@samba.org>2010-01-12 16:04:44 -0800
commit47c1d9b39f292772e8d8f7a737ddff6c8bdfdeae (patch)
treea032c194ae17b0634df31def0b125fc4db894f2e /source3/modules/vfs_acl_xattr.c
parent2f30aea3324f32f9b8555e961256fc1280da2871 (diff)
downloadsamba-47c1d9b39f292772e8d8f7a737ddff6c8bdfdeae.tar.gz
samba-47c1d9b39f292772e8d8f7a737ddff6c8bdfdeae.tar.bz2
samba-47c1d9b39f292772e8d8f7a737ddff6c8bdfdeae.zip
Fix bug #6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object.
Final fix for the vfs_acl_xattr and vfs_acl_tdb code. Ensure we can delete a file even if the underlying POSIX permissions don't allow it, if the Windows permissions do. Jeremy.
Diffstat (limited to 'source3/modules/vfs_acl_xattr.c')
-rw-r--r--source3/modules/vfs_acl_xattr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/modules/vfs_acl_xattr.c b/source3/modules/vfs_acl_xattr.c
index 625ef91e8f..18f2d42784 100644
--- a/source3/modules/vfs_acl_xattr.c
+++ b/source3/modules/vfs_acl_xattr.c
@@ -199,8 +199,10 @@ static struct vfs_fn_pointers vfs_acl_xattr_fns = {
.connect_fn = connect_acl_xattr,
.opendir = opendir_acl_common,
.mkdir = mkdir_acl_common,
+ .rmdir = rmdir_acl_common,
.open = open_acl_common,
.create_file = create_file_acl_common,
+ .unlink = unlink_acl_common,
.fget_nt_acl = fget_nt_acl_common,
.get_nt_acl = get_nt_acl_common,
.fset_nt_acl = fset_nt_acl_common,