Ignore:
Timestamp:
May 24, 2009, 7:17:10 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 to 3.3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/smbd/file_access.c

    r206 r221  
    117117         * not help, by the DELETE_CHILD bit on the containing directory.
    118118         *
    119          * Here we check the other way round because with just posix
    120          * permissions looking at the file itself will never grant DELETE, so
    121          * by looking at the directory first we save one get_acl call.
     119         * Here we only check the directory permissions, we will
     120         * check the file DELETE permission separately.
    122121         */
    123122
    124         if (can_access_file_acl(conn, dname, FILE_DELETE_CHILD)) {
    125                 return true;
    126         }
    127 
    128         return can_access_file_acl(conn, fname, DELETE_ACCESS);
     123        return can_access_file_acl(conn, dname, FILE_DELETE_CHILD);
    129124}
    130125
Note: See TracChangeset for help on using the changeset viewer.