Ignore:
Timestamp:
Jul 2, 2013, 7:27:06 PM (12 years ago)
Author:
Herwig Bauernfeind
Message:

Samba Server 3.5: Update branch to 3.5.20

File:
1 edited

Legend:

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

    r739 r773  
    13601360                if (pace->type == SMB_ACL_USER_OBJ) {
    13611361
    1362                         if (setting_acl && !is_default_acl) {
     1362                        if (setting_acl) {
     1363                                /*
     1364                                 * Ensure we have default parameters for the
     1365                                 * user (owner) even on default ACLs.
     1366                                 */
    13631367                                apply_default_perms(params, is_directory, pace, S_IRUSR);
    13641368                        }
     
    14401444                        }
    14411445
    1442                         if (!is_default_acl) {
    1443                                 apply_default_perms(params, is_directory, pace, S_IRUSR);
    1444                         }
     1446                        /*
     1447                         * Ensure we have default parameters for the
     1448                         * user (owner) even on default ACLs.
     1449                         */
     1450                        apply_default_perms(params, is_directory, pace, S_IRUSR);
    14451451                } else {
    14461452                        pace->perms = unix_perms_to_acl_perms(pst->st_ex_mode, S_IRUSR, S_IWUSR, S_IXUSR);
Note: See TracChangeset for help on using the changeset viewer.