star-1.4a07pre5 available

Chris Faulhaber jedgar at fxp.org
Tue Nov 27 22:45:02 GMT 2001


(moving to posix1e at cyrus.watson.org)

Sorry for the late reply...

On Thu, Nov 08, 2001 at 03:12:59PM +0100, Andreas Gruenbacher wrote:
> On Thu, 8 Nov 2001, Robert Watson wrote:
> 
> (2) setfacl seems to have trouble with default ACLs:
> 
> Things like `setfacl -m u:joe:rwx dir/' work as expected. However, the
> equivalent command for default ACLs, `setfacl -dm u:joe:rwx dir/', fails.
> 
> Setting default ACLs works if you specify a complete, valid ACL. It seems
> setfacl is doing an acl_valid() call too many, or something like that.
> 

Where are you getting the complete default ACL from?  access ACLs
can be obtained from a file/dir by using normal unix permissions but
default ACLs have no such option.

> 
> (3) getfacl returns a crappy comment header.
> 
> Instead of what 1003.1e DS17 says,
> 
>   # file: dir/
>   # owner: gruenbacher
>   # group: disk
>   . . .
> 
> getfacl returns:
> 
>   #file:f3
>   #owner:20002
>   #group:0
> 

According to 1003.2c:

8.1.6.1 Standard Output
...
The header shall be written in the following format:
"#file:%s\n#owner:%d\n#group:%d\n",<filename>,<uid>,<gid>

-- 
Chris D. Faulhaber - jedgar at fxp.org - jedgar at FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/posix1e/attachments/20011127/9a5dd528/attachment.bin


More information about the posix1e mailing list