Re: Default acl
[email protected] (Joerg Schilling) Sun, 22 Apr 2007 00:15:16 +0200
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <462a8cf4.1hRM8RrqXctbF7os%[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. I looked at your patch and it does not seem to be correct. Please try this: ------- acl_unix.c ------- --- /tmp/sccs.K0aqek Sa Apr 21 23:55:12 2007 +++ acl_unix.c Sa Apr 21 23:55:07 2007 @@ -229,7 +229,8 @@ entries++; } } - if (entries > 3) { /* > 4 on Solaris? */ + if ((entries > 3) || /* > 4 on Solaris? */ + (type == ACL_TYPE_DEFAULT && entries >= 3)) { if (!acl_add_ids(name, acltext, text)) { acl_free((acl_t)text); return (FALSE); 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