Changeset 732 for branches/samba-3.5.x/source3/locking
- Timestamp:
- Nov 12, 2012, 4:35:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/locking/locking.c
r414 r732 1351 1351 if (fsp->is_directory) { 1352 1352 SMB_ASSERT(!is_ntfs_stream_smb_fname(fsp->fsp_name)); 1353 1354 /* Or the root of a share. */ 1355 if (ISDOT(fsp->fsp_name->base_name)) { 1356 DEBUG(10,("can_set_delete_on_close: can't set delete on " 1357 "close for the root of a share.\n")); 1358 return NT_STATUS_ACCESS_DENIED; 1359 } 1360 1353 1361 return can_delete_directory(fsp->conn, 1354 1362 fsp->fsp_name->base_name);
Note:
See TracChangeset
for help on using the changeset viewer.