delorie.com/archives/browse.cgi | search |
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 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 |
Message-ID: | <60E14AAA.4000404@tlinx.org> |
Date: | Sat, 03 Jul 2021 22:44:10 -0700 |
From: | L A Walsh <cygwin AT tlinx DOT org> |
User-Agent: | Thunderbird 2.0.0.24 (Windows/20100228) |
MIME-Version: | 1.0 |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | objects created in a dir w/cygwin mangled perms; inherit no-access |
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 AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
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? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |