NFSv4 ACL support in star

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Sun Nov 10 17:15:28 UTC 2013


"Robert N. M. Watson" <rwatson at freebsd.org> wrote:

> FWIW, and perhaps this is obvious to all, but: FreeBSD, Linux, and Mac OS X share portions of their ACL library APIs, documentation, and implementation (although the degree varies a lot). It would be nice if sensible improvements made to one could be propagated to the others, as this would make life for application writers substantially easier. Some differences are now long-since committed to -- e.g., although Mac OS X picked up the FreeBSD ACL library and API, that was before FreeBSD supported NFSv4 ACLs, and Apple was uninterested in POSIX.1e, so there are necessary differences in the FreeBSD implementation of NFSv4 ACLs. But we should do the best we can to be consistent. One way to do this is to have a common test suite that is aware of intentional differences but tries otherwise to consistently check behaviour that applications like tar, rsync, etc, depend on.

The current code in star to support POSIX.1e draft ACLs is nearly identical for 
FreeBSD and Linux. There is currently only a difference when clearing ACLs for 
a file.

If the code to support NFSv4 ACLs has more differences, it may be impossible to 
support both platforms in a single maintainable program.

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


More information about the posix1e mailing list