Filipe David Borba Manana
8bab8b31bb
xfstests: add specific test for default ACL inheritance
...
This test is motivated by an issue found by a btrfs user, addressed
and described by the following Linux kernel patch:
https://patchwork.kernel.org/patch/3046931/
The steps to reproduce the issue on btrfs are the following:
$ 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:group::rwx
default:other::---
$ mkdir /mnt/acl/dir1
$ getfacl /mnt/acl/dir1
user::rwx
group::rwx
other::---
After unmounting and mounting again the filesystem, getfacl returned the
expected default ACL for the subdirectory:
$ umount /mnt/acl
$ mount /dev/loop0 /mnt
$ getfacl /mnt/acl/dir1
user::rwx
group::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---
This means that the underlying ACL xattr was persisted correctly but
the in memory representation of the inode had (incorrectly) a NULL ACL.
[rjohnston: renumbered test to 319]
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com >
Reviewed-by: Eric Sandeen <sandeen@redhat.com >
Signed-off-by: Rich Johnston <rjohnston@sgi.com >
2013-10-16 16:19:25 -05:00
..
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-03 09:22:13 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-07-19 15:50:09 -05:00
2013-03-26 11:43:49 -05:00
2013-06-25 14:53:59 -05:00
2013-10-16 14:58:28 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-10-13 18:41:00 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-10-16 14:58:28 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-05-03 09:22:13 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:34:44 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-16 06:53:05 -05:00
2013-10-16 14:58:28 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-10-16 14:58:28 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-08-15 13:57:38 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-22 13:50:59 -05:00
2013-03-26 11:43:49 -05:00
2013-10-16 15:15:35 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-05-14 08:33:44 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-04-04 06:55:21 -05:00
2013-03-26 11:43:49 -05:00
2013-06-03 13:40:36 -05:00
2013-03-26 11:43:49 -05:00
2013-05-15 08:17:51 -05:00
2013-03-26 11:43:49 -05:00
2013-05-15 08:17:51 -05:00
2013-03-26 11:43:49 -05:00
2013-10-16 15:17:35 -05:00
2013-10-16 14:58:28 -05:00
2013-05-15 08:17:51 -05:00
2013-03-26 11:43:49 -05:00
2013-05-15 08:17:51 -05:00
2013-03-26 11:43:49 -05:00
2013-05-15 08:17:51 -05:00
2013-10-16 14:58:28 -05:00
2013-05-15 08:17:51 -05:00
2013-04-05 08:26:47 -05:00
2013-05-15 08:17:51 -05:00
2013-04-05 08:26:47 -05:00
2013-05-15 08:17:51 -05:00
2013-04-05 08:26:47 -05:00
2013-05-03 09:22:12 -05:00
2013-04-05 12:25:29 -05:00
2013-05-16 08:48:03 -05:00
2013-05-03 14:13:09 -05:00
2013-05-15 08:17:51 -05:00
2013-05-15 07:48:41 -05:00
2013-07-08 16:59:48 -05:00
2013-07-08 16:59:48 -05:00
2013-07-26 11:15:42 -05:00
2013-07-26 11:15:42 -05:00
2013-07-30 13:37:11 -05:00
2013-07-19 17:16:27 -05:00
2013-08-16 08:54:43 -05:00
2013-08-16 08:54:43 -05:00
2013-08-19 09:47:20 -05:00
2013-08-19 09:47:20 -05:00
2013-08-19 15:30:42 -05:00
2013-08-19 15:30:42 -05:00
2013-10-16 16:19:25 -05:00
2013-10-16 16:19:25 -05:00
2013-10-16 16:19:25 -05:00
2013-04-12 13:17:46 -05:00