X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 62FAB3858C20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca X-Authority-Analysis: v=2.4 cv=S9vKfagP c=1 sm=1 tr=0 ts=62056de0 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 Message-ID: <5f6384c0-fa62-b450-742b-25af23a90851@SystematicSw.ab.ca> Date: Thu, 10 Feb 2022 12:56:15 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: Permissions on Files Created with Cygwin Content-Language: en-CA To: cygwin AT cygwin DOT com References: <48dbaee7-17f9-4652-2f45-c31980b0de2b AT cantab DOT net> From: Brian Inglis Organization: Systematic Software In-Reply-To: <48dbaee7-17f9-4652-2f45-c31980b0de2b@cantab.net> X-CMAE-Envelope: MS4xfHyVuEt6m5ruc9v3UWkXiXMBWPu93UeUY7U2CrZ6wFFloUuxeciFuU73nFQTJn2Bj39Ll1FZdV+QFBpuFfokg6Zp1eBWXWcNgxPb6WTxT5kNaN+UYEOF +DeXGszr65qFtCArAxUF2jL6F4mk3yhYqtgsOzz5EZ+FmaJfAYckdjzWtQnBYbOcxJhNlw7/k716R/+Mwc+aLkkXlcxbzyEWKwE= X-Spam-Status: No, score=-1163.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT 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: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 21AJuYlj011838 On 2022-02-10 09:48, Rob Stevens wrote: > Whenever I create files with cygwin (using whatever utilitity or editor) > I get these permissions as reported by icacls: >   NULL SID:(DENY)(Rc,S,X,DC) >   MALIN\rob:(R,W,D,WDAC,WO) >   NT AUTHORITY\SYSTEM:(DENY)(S,X) >   BUILTIN\Administrators:(DENY)(S,X) >   MALIN\None:(R) >   NT AUTHORITY\SYSTEM:(RX,W) >   BUILTIN\Administrators:(RX,W) >   Everyone:(R) > These permissions are not those inherited from the containing directory. > Not that only, but the windows utilities complain the the > permissions are mal-ordered. That's a long time Explorer bug as it's not its preferred order. > Is this not a bug?? Do I need a different (null?) umask in the environment? Try running $ setfacl -b file... as it sometimes reduces those ACLs to a shorter, more readable list. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple