* sec_acl.cc (setacl): Always grant default owner entry
STANDARD_RIGHTS_ALL and FILE_WRITE_ATTRIBUTES access, too.
This commit is contained in:
		
							parent
							
								
									55368b6d42
								
							
						
					
					
						commit
						3667a9f444
					
				|  | @ -1,3 +1,8 @@ | ||||||
|  | 2015-02-25  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  | 
 | ||||||
|  | 	* sec_acl.cc (setacl): Always grant default owner entry | ||||||
|  | 	STANDARD_RIGHTS_ALL and FILE_WRITE_ATTRIBUTES access, too. | ||||||
|  | 
 | ||||||
| 2015-02-25  Corinna Vinschen  <corinna@vinschen.de> | 2015-02-25  Corinna Vinschen  <corinna@vinschen.de> | ||||||
| 
 | 
 | ||||||
| 	* fhandler_tape.cc (fhandler_dev_tape::_lock): Add cw_sig_restart to | 	* fhandler_tape.cc (fhandler_dev_tape::_lock): Add cw_sig_restart to | ||||||
|  |  | ||||||
|  | @ -258,6 +258,8 @@ setacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp, | ||||||
|       switch (aclbufp[i].a_type) |       switch (aclbufp[i].a_type) | ||||||
| 	{ | 	{ | ||||||
| 	case DEF_USER_OBJ: | 	case DEF_USER_OBJ: | ||||||
|  | 	  allow |= STANDARD_RIGHTS_ALL | ||||||
|  | 		   | (pc.fs_is_samba () ? 0 : FILE_WRITE_ATTRIBUTES); | ||||||
| 	  if (!add_access_allowed_ace (acl, ace_off++, allow, | 	  if (!add_access_allowed_ace (acl, ace_off++, allow, | ||||||
| 				       well_known_creator_owner_sid, acl_len, inheritance)) | 				       well_known_creator_owner_sid, acl_len, inheritance)) | ||||||
| 	    return -1; | 	    return -1; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue