public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Roland Mainz <roland.mainz@nrubsig.org>
To: cygwin@cygwin.com
Subject: Missing "w" flag in Cygwin getfacl, while icacls shows "WD" (write data) permission ?
Date: Mon, 24 Jun 2024 12:35:54 +0200	[thread overview]
Message-ID: <CAKAoaQnXQtxKpq31GqdPL3FPzoja5M82qn8_JYsguFeDDQFY-w@mail.gmail.com> (raw)

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;)

                 reply	other threads:[~2024-06-24 10:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKAoaQnXQtxKpq31GqdPL3FPzoja5M82qn8_JYsguFeDDQFY-w@mail.gmail.com \
    --to=roland.mainz@nrubsig.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).