Changeset 620 for trunk/server/source3/smbd/open.c
- Timestamp:
- Aug 6, 2011, 6:50:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/smbd/open.c
r599 r620 86 86 NTSTATUS status; 87 87 struct security_descriptor *sd = NULL; 88 89 if ((access_mask & DELETE_ACCESS) && !lp_acl_check_permissions(SNUM(conn))) { 90 *access_granted = access_mask; 91 92 DEBUG(10,("smbd_check_open_rights: not checking ACL " 93 "on DELETE_ACCESS on file %s. Granting 0x%x\n", 94 smb_fname_str_dbg(smb_fname), 95 (unsigned int)*access_granted )); 96 return NT_STATUS_OK; 97 } 88 98 89 99 status = SMB_VFS_GET_NT_ACL(conn, smb_fname->base_name, … … 2968 2978 /* Setting FILE_SHARE_DELETE is the hint. */ 2969 2979 2970 if (lp_acl_check_permissions(SNUM(conn)) 2971 && (create_disposition != FILE_CREATE) 2980 if ((create_disposition != FILE_CREATE) 2972 2981 && (access_mask & DELETE_ACCESS) 2973 2982 && (!(can_delete_file_in_directory(conn, smb_fname) ||
Note:
See TracChangeset
for help on using the changeset viewer.