From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Ishtar.sc.tlinx.org (ishtar.tlinx.org [173.164.175.65]) by sourceware.org (Postfix) with ESMTPS id 3DA56385BF9F for ; Sun, 4 Jul 2021 05:45:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3DA56385BF9F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tlinx.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tlinx.org Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id 1645in4m074629 for ; Sat, 3 Jul 2021 22:44:51 -0700 Message-ID: <60E14AAA.4000404@tlinx.org> Date: Sat, 03 Jul 2021 22:44:10 -0700 From: L A Walsh User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "cygwin@cygwin.com" Subject: objects created in a dir w/cygwin mangled perms; inherit no-access Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP 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@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, 04 Jul 2021 05:45:16 -0000 Trying to track down exact conditions for a simpler testcase for a weird error message in tar and ran across this... in directory 'SI': /progd/Microsoft/../Tools/Sysinternals> ll -ad SI drwxrwxr-x+ 1 0 Jul 3 16:28 SI/ w/umask: > umask 0002 I make dir 'newdir': > mkdir newdir and ls -lgG shows: d---rwxr-x+ 1 0 Jul 3 16:40 newdir/ No access for user(me). I ran into this because trying to enter the directory in explorer I got no access! Trying to look at the perms, I get warnings about the rights possibly being out of order until eventually, if I want to proceed, it claims it has to reorder them. This seems to have come from some weird setting that seems to come from Cygwin, with 5 deny records at the front for NULL, 3 local accounts and 1 domain account (me)... and the local accts ... also me of a sort. Then come various allows, some of them that would seem to undo some of the denies, but its really dependent on order -- which explorer says is suspect... Fine...so the results when I did the "mkdir newdir", were such that ended up with u-wrx, and no access in explore? Of course I can overide, but why are such weird acls on this anyway? -- especially when it doesn't seem to really work?