Script started on Tue 05 Jun 2007 12:54:15 PM EDT $ mkdir dir $ cd dir $ date > normal $ date > acl-test $ date > ea-test $ getfattr -dm.\* * # file: acl-test security.selinux="user_u:object_r:user_home_t\000" # file: ea-test security.selinux="user_u:object_r:user_home_t\000" # file: normal security.selinux="user_u:object_r:user_home_t\000" $ getfacl * # file: acl-test # owner: wpollock # group: wpollock user::rw- group::r-- other::--- # file: ea-test # owner: wpollock # group: wpollock user::rw- group::r-- other::--- # file: normal # owner: wpollock # group: wpollock user::rw- group::r-- other::--- $ setfacl -m u:wayne:r acl-test $ setfattr -n user.foo -v bar ea-test $ chmod 444 normal $ ls -l total 24 -rw-r-----+ 1 wpollock wpollock 29 Jun 5 12:54 acl-test -rw-r----- 1 wpollock wpollock 29 Jun 5 12:54 ea-test -r--r--r-- 1 wpollock wpollock 29 Jun 5 12:54 normal $ getfacl acl-test # file: acl-test # owner: wpollock # group: wpollock user::rw- user:wayne:r-- group::r-- mask::r-- other::--- $ getfattr -d ea-test # file: ea-test user.foo="bar" $ cd $ star -c -artype=exustar -acl -xattr -xfflags -z -f=dir.star dir star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k). $ star -tzv -f dir.star Release star 1.5a54 (i386-redhat-linux-gnu) Archtype exustar Dumpdate 1181064267.340673 (Tue Jun 5 13:24:27 2007) Volno 1 Blocksize 20 0 drwxr-x---@ wpollock/wpollock Jun 5 12:54 2007 dir/ 29 -r--r--r--@ wpollock/wpollock Jun 5 12:54 2007 dir/normal 29 -rw-r-----+@ wpollock/wpollock Jun 5 12:54 2007 dir/acl-test 29 -rw-r-----@ wpollock/wpollock Jun 5 12:54 2007 dir/ea-test star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k). $ rm -rf dir $ star -pxzv -acl -xattr -xfflags -f dir.star Release star 1.5a54 (i386-redhat-linux-gnu) Archtype exustar Dumpdate 1181064267.340673 (Tue Jun 5 13:24:27 2007) Volno 1 Blocksize 20 x dir/ directory x dir/normal 29 bytes, 1 tape blocks x dir/acl-test 29 bytes, 1 tape blocks x dir/ea-test 29 bytes, 1 tape blocks star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k). $ cd dir $ ls -l total 24 -rw-r-----+ 1 wpollock wpollock 29 Jun 5 12:54 acl-test -rw-r----- 1 wpollock wpollock 29 Jun 5 12:54 ea-test -r--r--r-- 1 wpollock wpollock 29 Jun 5 12:54 normal $ getfacl * # file: acl-test # owner: wpollock # group: wpollock user::rw- user:wayne:r-- group::r-- mask::r-- other::--- # file: ea-test # owner: wpollock # group: wpollock user::rw- group::r-- other::--- # file: normal # owner: wpollock # group: wpollock user::r-- group::r-- other::r-- $ getfattr -m.\* * # file: acl-test security.selinux system.posix_acl_access # file: ea-test security.selinux user.foo # file: normal security.selinux $ cd $ rm -rf dir $ pax -rz -p p -f dir.star $ cd dir $ ls -l $ l dir total 24K -rw-r----- 1 wpollock wpollock 29 Jun 5 12:54 acl-test -rw-r----- 1 wpollock wpollock 29 Jun 5 12:54 ea-test -r--r--r-- 1 wpollock wpollock 29 Jun 5 12:54 normal $ getfattr -m.\* ea-test # file: ea-test security.selinux $ exit Script done on Tue 05 Jun 2007 01:32:17 PM EDT