Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 14 Jun 2001 20:22:26 -0400
From: Christopher Faylor <cgf@redhat.com>
To: "Cygwin Mailing List (E-mail)" <cygwin@sources.redhat.com>
Subject: Re: mkdir creating directories with bad permissions?
Message-ID: <20010614202226.A14146@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: "Cygwin Mailing List (E-mail)" <cygwin@sources.redhat.com>
References: <000101c0f52c$0d22e250$1101a8c0@BRAEMARINC.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <000101c0f52c$0d22e250$1101a8c0@BRAEMARINC.COM>; from tiberius@braemarinc.com on Thu, Jun 14, 2001 at 06:45:10PM -0500

On Thu, Jun 14, 2001 at 06:45:10PM -0500, Gary R. Van Sickle wrote:
>I'm seeing odd behavior with mkdir on Why2K with the latest cygwin snapshots
>(6-4 is the last one to not do this).  CYGWIN is not defined, so I assume
>ntsec is enabled(?).  Here's what I'm seeing:
>
>	mkdir ./whatever
>
>creates a directory with AFAICT correct Windows 2000 permissions and
>everything's fine.
>
>	mkdir ./whatever/another
>
>creates a directory giving me read and write permissions, but nothing else,
>in particular "List folder contents", "Modify", "Read & Execute", etc.
>
>Known issue?  It's not supposed to work this way, is it?  Would my cygcheck
>help?

I could duplicate this behavior, sans cygcheck, so I checked in a patch to
fix it.

Thanks for the bug report.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

