delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/03/15:52:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 3 Jul 2002 21:51:17 +0200
From: Pavel Tsekov <ptsekov AT gmx DOT net>
Reply-To: Pavel Tsekov <ptsekov AT gmx DOT net>
X-Priority: 3 (Normal)
Message-ID: <79565834.20020703215117@gmx.net>
To: cygwin AT cygwin DOT com
Subject: Re[2]: cd-ing into a directory with the executable bits UNSET succeeds
In-Reply-To: <20020703205652.K21857@cygbert.vinschen.de>
References: <8033028572 DOT 20020703181045 AT syntrex DOT com>
<22850392 DOT 20020703192602 AT gmx DOT net> <20020703173950 DOT GA26101 AT butch DOT jgcomp DOT com>
<20020703205652 DOT K21857 AT cygbert DOT vinschen DOT de>
MIME-Version: 1.0

Hello Corinna,

Wednesday, July 03, 2002, 8:56:52 PM, you wrote:

CV> On Wed, Jul 03, 2002 at 01:39:50PM -0400, Jon LaBadie wrote:
>> On Wed, Jul 03, 2002 at 07:26:02PM +0200, Pavel Tsekov wrote:
>> > Oh, boy! I mistyped the subject in the original mail :( It sounds so
>> > silly, that I doubt anyone have red it at all...
>> 
>> Failed for me which is correct behavior.

CV> Yep, for me, too.  Pavel, you should check the *whole* ACL using
CV> getfacl.

Thanks, for reminding me of that tool! I've tried to use cacls but the
information wasn't so usefull as the output of getfacl :)

It seems that I was too fast to send the report - cygwin1.dll seems to
perform fine... in normal situations i.e.:

  mkdir somedir
  chmod 600 somedir
  cd somdir  -> Permission denied

The problem is, as it seems, with directories created from setup.exe,
since these are created to be accessible for everyone.

Here is the output of getfacl on /usr/src:

paveltz AT MORDOR /usr
$ getfacl.exe src
# file: src
# owner: paveltz
# group: Nessuno
user::---
group::---
group:SYSTEM:rwx
group:Administrators:rwx
group:Users:rwx
mask::---
other::---
default:user::---
default:group::---
default:group:Everyone:---
default:group:SYSTEM:---
default:group:Administrators:---
default:group:Users:-w-
default:mask::---
default:other::---

While on directories created with, say, mkdir, the output looks like
this:

paveltz AT MORDOR /usr
$ getfacl.exe bbb
# file: bbb
# owner: paveltz
# group: Nessuno
user::---
group::---
mask::---
other::---
default:user::---
default:group::---
default:mask::---
default:other::---

Both /usr/src and /usr/bbb have been chmod-ed to mode 000 before
executing getfacl.exe.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019