delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 29 Nov 2011 18:12:54 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: /cygdrive/c permission denied |
Message-ID: | <20111129171254.GA23942@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <201111290006 DOT pAT06SJQ2879534 AT mail DOT pittstate DOT edu> <4ED4FD6B DOT 4030109 AT etr-usa DOT com> <4ED4FF73 DOT 3030909 AT redhat DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <4ED4FF73.3030909@redhat.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Nov 29 08:51, Eric Blake wrote: > On 11/29/2011 08:42 AM, Warren Young wrote: > > The only serious difference I see here is that I get "d---------+", so > > going by just that, I shouldn't even be able to cd into it! > > See that + on the end of the mode field? That means there are ACLs in > affect; and my guess is one of the ACLs allows your uid to change to > that directory even though the owner of the directory does not have the > same permissions. > > > $ getfacl /c > > # file: /c > > # owner: ???????? > > # group: ???????? > > user::--- > > group::--- > > group:root:rwx > > group:SYSTEM:rwx > > group:Users:r-x > > Yep - just as I said. The actual uid/gid owner (which is probably being > treated as -1 meaning your /etc/group and /etc/passwd are incomplete) For system installed dirs, that's typically the "TrustedInstaller" account, which doesn't match any usual SID scheme. It's not in /etc/passwd or /etc/group since mkpasswd/mkgroup don't make any effort to generate an entry. Patches welcome. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |