Re: Default acl

[email protected] (Joerg Schilling) Mon, 09 Apr 2007 22:14:00 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <461a9e88.d3/1DdvjrDhGXttv%[email protected]>
"Mr X" <[email protected]> wrote:

> Hello,
>
> I'm unable to backup "default acl" using star.
>
> --- sample of a little test:
>
> $ mkdir folder ; setfacl -d -m u::rwx folder
>
> $ getfacl folder
>
> # file: folder
> # owner: root
> # group: root
> user::rwx
> group::r-x
> other::r-x
> default:user::rwx
> default:group::r-x
> default:other::r-x
>
> $ star -Hexustar -acl -c f=test ./folder/
>
> $ mkdir out ; cd out
>
> $ star -acl -x f=../test
>
> $ getfacl folder
> # file: folder
> # owner: root
> # group: root
> user::rwx
> group::r-x
> other::r-x
>
> Output of getfacl on the restored folder isn't what I expected...
>
> A quick description of my current setup:
> - Debian 3.1, with kernel 2.6.18 i686
> - filesystem is reiserfs 3.6 with mount option : user_xattr,acl
> - star version is 1.5a67
>
> Is there a way to save "default acl" using star ?

Linux is not a userfriendly OS....

While Solaris by default installs everything by default, you need to 
install acl support on Linux separately. Watch the star compile 
log:

checking for gettext in -lc... yes
checking for gettext... yes
checking for Posix Access Control List support
checking for acl_get_file in -lacl... no
checking for acl_get_file in -lpacl... no

shows missing libraries

If "checking for Posix Access Control List support" is missng, then
even the related include files are missing.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
Star-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/star-users