Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2001 20:07:09 -0500
From:      Chris Faulhaber <jedgar@fxp.org>
To:        Daniel Rock <D.Rock@t-online.de>
Cc:        Robert Watson <rwatson@freebsd.org>, current@freebsd.org
Subject:   Re: Inconsistencies in *stat() for files with ACLs
Message-ID:  <20011202200708.A91752@peitho.fxp.org>
In-Reply-To: <3C0ACCC3.CD252518@t-online.de>
References:  <Pine.NEB.3.96L.1011202180538.21930A-100000@fledge.watson.org> <3C0ACCC3.CD252518@t-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Dec 03, 2001 at 01:52:19AM +0100, Daniel Rock wrote:
> Robert Watson schrieb:
> > That said, I won't argue it's intuitive unless you know about the behavior
> > already, and it probably should be documented in the stat(2) man page.  If
> > you're interested in discussing these semantics, it might be worth raising
> > it on the POSIX.1e mailing list (posix1e@cyrus.watson.org).  A number of
> > people involved in writing the spec are there, and in the past it has been
> > a successful forum for discussing ambiguities (not to mention mistakes) in
> > the spec.
> 
> I don't have access to the POSIX spec. I only found some early drafts. Without
> detailed knowledge of these internals I wouldn't be a good participant in
> this discussion.
> 

See http://wt.xpilot.org/publications/posix.1e/download.html for
.pdf's, .ps's, and .nroff's of the last drafts (.1e and .2c).
http://www.TrustedBSD.org/ also has links to the posix1e mailing
lists and other resources.

> But what about some additions to ls: In Solaris - if the file has additional
> ACLs - the permissions are followed by a plus sign (see above). So you know:
> To get full information you have to use getfacl.
> 

See http://www.fxp.org/jedgar/ACL/ for patches to enable ACL support
for cp, ls, and mv.  For ls, the patch simply changes the string
obtained from stat(2).  In the future stat(2)/strmode(3) will
support ACL's natively.

Also, I committed a patch recently to the gnuls port to give it
support ala the aformentioned ls patch.

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: FreeBSD: The Power To Serve

iEYEARECAAYFAjwK0DwACgkQObaG4P6BelAsXACfdydIFIDqjOeBZKu6ov9lSvKl
Nr0AniNWH/CG7JS2SAcBs5e8hP5ov4s/
=V1O0
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011202200708.A91752>