Displaying 1 result from an estimated 1 matches for "posix_acl_cr".
2013 Oct 15
4
[PATCH] Btrfs: fix incorrect inode acl reset
...a directory has a default ACL and a subdirectory is created
under that directory, btrfs_init_acl() is called when the
subdirectory''s inode is created to initialize the inode''s ACL
(inherited from the parent directory) but it was clearing the ACL
from the inode after setting it if posix_acl_create() returned
success, instead of clearing it only if it returned an error.
To reproduce this issue:
$ mkfs.btrfs -f /dev/loop0
$ mount /dev/loop0 /mnt
$ mkdir /mnt/acl
$ setfacl -d --set u::rwx,g::rwx,o::- /mnt/acl
$ getfacl /mnt/acl
user::rwx
group::rwx
other::r-x
default:user::rwx
default:gro...