Ignore:
Timestamp:
Nov 12, 2012, 4:35:55 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/locking/locking.c

    r414 r732  
    13511351        if (fsp->is_directory) {
    13521352                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
    13531361                return can_delete_directory(fsp->conn,
    13541362                                            fsp->fsp_name->base_name);
Note: See TracChangeset for help on using the changeset viewer.