strictly POSIX (was Re: Samba ACL's and FreeBSD (fwd))

Chris Faulhaber jedgar at fxp.org
Tue Apr 10 01:48:00 GMT 2001


In attempting to get samba 2.2 and its ACL support working with
the TrustedBSD ACL implementation, we find that samba uses
acl_get_perm() (checks if permission(s) are contained in a
permission set) as though it were a standard POSIX.1e function.

From my questions on samba-technical, Jeremy Allison implies that
this function was in previous draft revisions. If so (I don't have
anything earlier than Draft 17), why was it removed?  Do other ACL
implementation use a similiar function (other than Linux)?

Additionally, the Linux implementation assumes a bitmask-based
acl_perm_t.  From what I can see, the spec does not state this is
required.  Should the caller be allowed to compare multiple
permissions (e.g. ACL_READ|ACL_EXECUTE) in this case?

Either way it does seem to be useful could be easily implemented
in some fashion (albeit, marked as non-standard).

-- 
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/20010409/bde5dbf3/attachment.bin


More information about the posix1e mailing list