From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <743-406-3965@kylheku.com> Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) by sourceware.org (Postfix) with ESMTPS id 5BC523857C4E for ; Sun, 11 Oct 2020 16:14:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5BC523857C4E Received: from kylheku.com ([70.79.163.252]) by shaw.ca with ESMTPA id RdyxkRhhsLWW5Rdyyk1INS; Sun, 11 Oct 2020 10:14:01 -0600 X-Authority-Analysis: v=2.4 cv=Z5JSoFdA c=1 sm=1 tr=0 ts=5f832f49 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=afefHYAZSVUA:10 a=ULwbawRRcmO7P83T00AA:9 a=QEXdDO2ut3YA:10 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from <743-406-3965@kylheku.com>) id 1kRdyx-0003ud-AQ; Sun, 11 Oct 2020 09:13:59 -0700 To: cygwin@cygwin.com Subject: Re: chmod issue on 3.1.7. X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Sun, 11 Oct 2020 09:13:59 -0700 From: "Kaz Kylheku (Cygwin)" <743-406-3965@kylheku.com> In-Reply-To: References: <7cb8ee6c7e9a36a3c1ee73def342bcb6@mail.kylheku.com> Message-ID: <18a84b2bfacbe065663927fbf6daf890@mail.kylheku.com> X-Sender: 743-406-3965@kylheku.com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4xfPRAvEA84qK9NIInpSHsZpsBjOEBk3CMMMW00es/SrblruJCH9b0XvFIV+VyGC97fszQIcZ81Sq+169QD8ZGUuOlSzrYAiiaYowJUm9944tiJ89f9pJL 9PmxxEq7K07UYneAIsBUKVpm7ahlOQxe+UjUSHDrtfFZX1iZ+kDw7yC7iSJO3IabjY2V5HFXudkwOUVBcDRIH/OcMFaR4Eqz0J2FAxIt43tazxqCXtnMJGeR X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, FROM_STARTS_WITH_NUMS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2020 16:14:04 -0000 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=20 > 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 . =2E 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