On Fri, 13 Jun 2025 at 21:52, Brian Inglis via Cygwin <cygwin@cygwin.com> wrote:
>
> On 2025-06-13 06:09, Lionel Cons via Cygwin wrote:
> > /usr/bin/setfacl is broken in 3.7.0-0.127.g2029784e05d9
> >
> > my testcase:
> > lionel$ uname -a
> > CYGWIN_NT-10.0-19045 halcyonrenard17 3.7.0-0.127.g2029784e05d9.x86_64
> > 2025-06-10 12:15 UTC x86_64 Cygwin
> > lionel$ mkdir nfstmp1
> > ionel$ setfacl -m g::rwx nfstmp1
> > setfacl: Permission denied
> > ionel$ setfacl -m g:None:rwx nfstmp1
> > setfacl: Permission denied
> >
> > This was working in Cygwin 3.5
>
> No changes have been made to the utility for five years,

Are you sure? Isn't this tool part of coreutils?

> but a lot of changes
> have been made to the DLL since 3.5.
>
> Could you please install current stable cygwin 3.6.3, retest and report,

lionel$ uname -a
CYGWIN_NT-10.0-19045 halcyonrenard17 3.6.3-1.x86_64 2025-06-05 11:45
UTC x86_64 Cygwin
lionel$ setfacl --version
setfacl (cygwin) 3.6.3
POSIX ACL modification utility
Copyright (C) 2000 - 2025 Cygwin Authors
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## testing with a file:
lionel$ rm -f myfile && touch myfile && setfacl -m g::rwx myfile
# works

## testing with a dir:
lionel$ rm -Rf mydir && mkdir mydir && setfacl -m g::rwx mydir
setfacl: Permission denied

So in Cygwin 3.6.3 setfacl for files works, but not for dirs

> to try
> and narrow down the issue occurrence to changes in major version 3.6 or 3.7, 
> or
> better to minor versions if you have the space and time?

How can I install each Cygwin minor version (not just the Cygwin
*.dll, I mean EVERYTHING including dependencies)?

Lionel

P.S.: Testing /usr/bin/setfacl.exe is not part of the CI, right?

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to