Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2013 18:50:33 +0100
From:      =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@FreeBSD.org>
To:        Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
Cc:        freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: multiple ACEs with the same ACL qualifier
Message-ID:  <578FD1DA-8D68-446F-9443-4D8E0220BD31@FreeBSD.org>
In-Reply-To: <51152DB8.4060703@omnilan.de>
References:  <51152DB8.4060703@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Wiadomo=B6=E6 napisana przez Harald Schmalzbauer w dniu 8 lut 2013, o =
godz. 17:54:
> Hello,
>=20
> I'd like to duplicate the following ACL:
> # file: /data/shared/
> # owner: harry
> # group: harry
>     group:1stgroup:r-x---a-R-c--s:fd----:allow
>     group:2ndgroup:rwxp--a-R-c--s:-d----:allow
>     group:2ndgroup:----D---------:-d----:deny
>     group:2ndgroup:r-----a-R-c--s:f-i---:allow
>            owner@:rwxpDdaARWcCos:fd----:allow
>            group@:r-xp--a-R-c--s:fd----:allow
>         everyone@:--------------:fd----:allow
>=20
> So there are two "group:2ndgroup:::allow" entries.
> While it's annoying that I can't modify one specific of these with =
"-m"
> (both get altered without warning/confirmation reques), I also can't =
use
> "-M" to apply it read from file.
>=20
> Are there any workarrounds?

Please use "-a" and "-x" instead.  The "-m" was fine for POSIX.1e ACLs,
where you never have more than one entry per principal and the ordering
doesn't matter.

--=20
If you cut off my head, what would I say?  Me and my head, or me and my =
body?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?578FD1DA-8D68-446F-9443-4D8E0220BD31>