public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Vincent Rivière" <vincent.riviere@freesbee.fr>
To: cygwin@cygwin.com
Subject: Wrong NTFS permissions
Date: Tue, 23 Jan 2024 22:54:29 +0100	[thread overview]
Message-ID: <7157367c-cd10-4738-8448-4b3c862ab13b@freesbee.fr> (raw)

Hi,

I'm facing a really weird issue with NTFS permissions.

$ umask
0022

$ cd /cygdrive/h/
$ mkdir a

$ ls -ld a
drwxr-xr-x 1 vincent vincent 0 Jan 23 22:35 a

# You can see that permissions are fine.

$ getfacl a
# file: a
# owner: vincent
# group: vincent
user::rwx
group::r-x
other::r-x
default:user::rwx
default:group::r-x
default:other::rwx

# I have no idea if those default: values are good.

$ cd a
$ mkdir b

$ ls -ld b
drwxr-xrwx+ 1 vincent vincent 0 Jan 23 22:44 b

# Bogus permissions!

$ getfacl b
# file: b
# owner: vincent
# group: vincent
getfacl: b: Invalid argument

Am I missing something, or this is a Cygwin bug?

Cheers,

-- 
Vincent Rivière

             reply	other threads:[~2024-01-23 21:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-23 21:54 Vincent Rivière [this message]
2024-01-24  3:14 ` Marco Atzeri
2024-01-24  8:35   ` Vincent Rivière
2024-01-24 14:32     ` Andrey Repin

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=7157367c-cd10-4738-8448-4b3c862ab13b@freesbee.fr \
    --to=vincent.riviere@freesbee.fr \
    --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).