public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Missing "w" flag in Cygwin getfacl, while icacls shows "WD" (write data) permission ?
@ 2024-06-24 10:35 Roland Mainz
  0 siblings, 0 replies; only message in thread
From: Roland Mainz @ 2024-06-24 10:35 UTC (permalink / raw)
  To: cygwin

Hi!

----

Can anyone explain why (on a plain filesystem (not NFS, not NTFS)) we
get "user::r--" from /usr/bin/getfacl, while the Windows native
utility "icacls" clearly says the user has "WD" (write data)
attributes ?
---- snip ---
$ uname -a
CYGWIN_NT-10.0-19045 evil02 3.6.0-0.115.g579064bf4d40.x86_64
2024-04-09 21:11 UTC x86_64 Cygwin

$ touch test1.txt

$ icacls test1.txt
test1.txt ERSTELLER-BESITZER:(Rc,WDAC,S,RD,WD,AD,RA,WA)
          ERSTELLERGRUPPE:(Rc,S,RD,RA)
          Jeder:(Rc,S,RD,RA)

1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein
Verarbeitungsfehler aufgetreten.

$ ls -l
total 0
-r--r--r-- 1 roland_mainz Kein 0 Jun 24 12:28 test1.txt

$ getfacl test1.txt
# file: test1.txt
# owner: roland_mainz
# group: Kein
user::r--
group::r--
other::r--
---- snip ---

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-24 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-24 10:35 Missing "w" flag in Cygwin getfacl, while icacls shows "WD" (write data) permission ? Roland Mainz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).