[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Fri Feb 4 19:37:02 UTC 2022


The branch, master has been updated
       via  b2c301ad3b8 sharesec: Add SEC_DIR_DELETE_CHILD to CHANGE permissions
      from  b9b82f3611c s3: libsmb: Call cli_dfs_target_check() from cli_smb2_rename_send().

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b2c301ad3b80c2a25627035e0caf1f8e619fe071
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Feb 2 10:02:37 2022 +0100

    sharesec: Add SEC_DIR_DELETE_CHILD to CHANGE permissions
    
    Otherwise you can't rename or delete files using CHANGE permissions using
    the sharesec or shareacls utility
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Fri Feb  4 19:36:53 UTC 2022 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/util_sd.c | 1 +
 1 file changed, 1 insertion(+)


Changeset truncated at 500 lines:

diff --git a/source3/lib/util_sd.c b/source3/lib/util_sd.c
index d90d566cdb2..2141eaf49ac 100644
--- a/source3/lib/util_sd.c
+++ b/source3/lib/util_sd.c
@@ -50,6 +50,7 @@ static const struct perm_value special_values[] = {
 static const struct perm_value standard_values[] = {
 	{ "READ",   SEC_RIGHTS_DIR_READ|SEC_DIR_TRAVERSE },
 	{ "CHANGE", SEC_RIGHTS_DIR_READ|SEC_STD_DELETE|\
+	  SEC_DIR_DELETE_CHILD|\
 	  SEC_RIGHTS_DIR_WRITE|SEC_DIR_TRAVERSE },
 	{ "FULL",   SEC_RIGHTS_DIR_ALL },
 	{ NULL, 0 },


-- 
Samba Shared Repository



More information about the samba-cvs mailing list