public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Kaz Kylheku (Cygwin)" <743-406-3965@kylheku.com>
To: cygwin@cygwin.com
Subject: Re: chmod issue on 3.1.7.
Date: Sun, 11 Oct 2020 09:13:59 -0700	[thread overview]
Message-ID: <18a84b2bfacbe065663927fbf6daf890@mail.kylheku.com> (raw)
In-Reply-To: <ff1ef183-acef-5b58-00d5-876188822725@SystematicSw.ab.ca>

On 2020-10-10 14:51, Brian Inglis wrote:
> D/ACLs on the directory could restore/maintain the permissions:
> could we please see the output from ls -l, getfacl, and icacls on the 
> directory
> and file?

Thanks for your responses, Ken and Brian.

See what you can make of this:

0:DESKTOP-K8055OB:~$ ls -ld . tempfile
drwxr-xr-x+ 1 kaz kaz 0 Oct 11 09:07 .
-rwxrwsrwt  1 kaz kaz 0 Oct 10 09:08 tempfile
0:DESKTOP-K8055OB:~$ getfacl .
# file: .
# owner: kaz
# group: kaz
user::rwx
group::r-x
other::r-x
default:user::rwx
default:group::r-x
default:other::r-x

0:DESKTOP-K8055OB:~$ getfacl tempfile
# file: tempfile
# owner: kaz
# group: kaz
# flags: -st
user::rwx
group::rwx
other::rwx

0:DESKTOP-K8055OB:~$ icacls .
. DESKTOP-K8055OB\kaz:(F)
   DESKTOP-K8055OB\kaz:(RX)
   Everyone:(RX)
   CREATOR OWNER:(OI)(CI)(IO)(F)
   CREATOR GROUP:(OI)(CI)(IO)(RX)
   Everyone:(OI)(CI)(IO)(RX)

Successfully processed 1 files; Failed processing 0 files
0:DESKTOP-K8055OB:~$ icacls tempfile
tempfile NULL SID:(DENY)(Rc,S,RD,WD)
          DESKTOP-K8055OB\kaz:(F)
          DESKTOP-K8055OB\kaz:(RX,W)
          Everyone:(RX,W)

Successfully processed 1 files; Failed processing 0 files


  reply	other threads:[~2020-10-11 16:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-10 16:32 Kaz Kylheku (Cygwin)
2020-10-10 19:41 ` Ken Brown
2020-10-10 21:51   ` Brian Inglis
2020-10-11 16:13     ` Kaz Kylheku (Cygwin) [this message]
2020-12-24 21:13 ` Kaz Kylheku (Cygwin)
2020-12-24 22:56   ` Ken Brown
2020-12-25  9:15 Kaz Kylheku (Cygwin)

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=18a84b2bfacbe065663927fbf6daf890@mail.kylheku.com \
    --to=743-406-3965@kylheku.com \
    --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).