This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setfacl to remove a permission implicit adds another


On Dec 18 17:14, Thomas Wolff wrote:
> I wrote:
> >...
> >After removing SYSTEM write permission with setfacl,
> >it was effectively removed for SYSTEM but the other groups got
> >write permission ADDED instead (as also properly indicated by ls) â
> >which is kind of the opposite of the intended operation.
> cygwin-2.4.0-0.11, sorry

In that case the behaviour is by design.  Try the same on Linux and the
result will be the same.  Every time you change group perms, the mask
will be changed to reflect the maximum permissions given to any group or
seccondary user.  You always have to check the mask or set it explicitely
to the desired value.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpjHGQH0OVG6.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]