[KLUG Members] Re: Mapping Windows ACLs to UNIX ACLs -- Ext2/3 and XFS ACLs are converging
members@kalamazoolinux.org
members@kalamazoolinux.org
Thu, 14 Nov 2002 09:42:21 -0500
>I haven't played with RedHat 8.0 to see if they include the Ext2/3 ACL
>patches. They might have in their kernels (although are they
>enabled?). And their new preference for "star" (over GNU tar) might
>also back them up, since it supports the POSIX 2001 ustar format with
>ACLs I believe.
RedHat 8.0 support ACLs by default.
lnx01688:/usr/pcnet/rh80 $getfacl Xtest-2.0-1.i386.rpm
# file: Xtest-2.0-1.i386.rpm
# owner: root
# group: root
user::r--
group::r--
other::r--
But setting ACLs doesn't seem to work -
[/tmp]# setfacl -s g:cis:x INSTALL
setfacl: INSTALL: Resulting ACL `group:cis:--x,mask::--x': Missing or wrong
entry at entry 1
which is odd since there implementation seems complete -
lnx01688:/tmp $ldd /bin/cp
>>> libacl.so.1 => /lib/libacl.so.1 (0x40024000) <<<
libc.so.6 => /lib/libc.so.6 (0x4002a000)
libattr.so.1 => /lib/libattr.so.1 (0x40148000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
so cp -p... etc... should preserve ACLs as well as the crappy old permission bits.
The getfacl and setfacl support backing up and restoring a filesystems ACLs