Re: Default acl

"Mr X" <[email protected]> Wed, 11 Apr 2007 14:27:02 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
Hello,

if there's no default acl, entries = 1 : text[0]=0;

if I put default acl (setfacl -d -m u::rwx folder)
default:user::rwx
default:group::r-x
default:other::r-x

entries = 3
- acl_to_info() : not calling acl_add_ids, default acl aren't saved w/o the
patch.

if I add another default acl, setfacl -d -m mask::rwx folder
default:user::rwx
default:group::r-x
default:mask::rwx
default:other::r-x

entries = 4
- acl_to_info() : calls acl_add_ids, as it's more than 3 (star w/o patch).


I'm able to backup/restore using star with patch applied.

-xavier

2007/4/11, Joerg Schilling <[email protected]>:
>
> "Mr X" <[email protected]> wrote:
>
> > Hello,
> >
> > I've made a little patch.
> >
> > acl_to_info() parser was expecting at least 4 lines from acl_to_text,
> > for my test-case only 3 lines were returned for ACL_TYPE_DEFAULT.
>
> Strange, the original code is from the author of the Linux ACL code.....
>
> Does it now work correctly for you?
>
> What happens in case thatre are no default ACLs? What number do you get
> then
> from the function?
>
> 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