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 049693858433 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=cantab.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cantab.net Authentication-Results: mta01.prd.rdg.aluminati.org; dkim=pass (2048-bit key; unprotected) header.d=cantab.net header.i=@cantab.net header.a=rsa-sha256 header.s=dkim header.b=q3ucVdqP; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cantab.net; h= content-transfer-encoding:subject:subject:from:from :content-language:user-agent:mime-version:date:date:message-id :received:received; s=dkim; t=1644511730; bh=MEH20mTezufb1nbTYjY Ftr6iUzm56/vGZniE7mTc/PU=; b=q3ucVdqPAGRS9+En6ED+P+UXNFNhfWGCUbi HvDwdKRSNsQ6U4l9r6Myh8gYJ+IlgSvdpFxJsVszD6miXo60HHJy3JwHh/9MPFHM 5OqAQdNinjbAvM5G2kRou5rqeyXebJSqdK4A6Tkejr5xhGgEYz7945u1s5ylA+Z+ KTTwq5o80e6yDNGhKiJrv5np7dbtEiZaP+DM1VodcCtNb0Vma1EqvLpbcT9PMlr2 Ge/5ovLiBEQzCXY7+xlfZRKhbWhpQ67D56vOgD9tZ6yRnjkZeOIpyoSFVAgP/BsE mkCtHpnh0zUvwE1MlvXb/F1cn31rGGM9o93j6jRoz6U9G/kEx0A== X-Quarantine-ID: X-Virus-Scanned: Debian amavisd-new at mta01.prd.rdg.aluminati.org Message-ID: <48dbaee7-17f9-4652-2f45-c31980b0de2b@cantab.net> Date: Thu, 10 Feb 2022 11:48:42 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Content-Language: en-US To: cygwin AT cygwin DOT com From: Rob Stevens Subject: Permissions on Files Created with Cygwin X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham 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 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 21AGoIQo018094 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. Is this not a bug?? Do I need a different (null?) umask in the environment? -- 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