Blame test/root/getfacl.test

rpm-build 0a0c83
Make sure that getfacl always adds at least one space between the permissions
rpm-build 0a0c83
in an acl entry and the effective permissions comment.
rpm-build 0a0c83
rpm-build 0a0c83
Cry immediately if we are not running as root.
rpm-build 0a0c83
rpm-build 0a0c83
	$ require_root
rpm-build 0a0c83
rpm-build 0a0c83
	$ umask 022
rpm-build 0a0c83
	$ mkdir d
rpm-build 0a0c83
	$ setfacl -dm group:loooooooooooooooooooooooonggroup:rwx d
rpm-build 0a0c83
	$ getfacl -cde d
rpm-build 0a0c83
	> user::rwx
rpm-build 0a0c83
	> group::r-x	#effective:r-x
rpm-build 0a0c83
	> group:loooooooooooooooooooooooonggroup:rwx	#effective:rwx
rpm-build 0a0c83
	> mask::rwx
rpm-build 0a0c83
	> other::r-x
rpm-build 0a0c83
	>
rpm-build 0a0c83
rpm-build 0a0c83
	$ rm -r d