Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Can mkdir here, can't mkdir there
MIME-Version: 1.0
Message-ID: <OF5457DC26.0B0E8E83-ON85256D10.0053D6E9@LocalDomain>
From: dfriedman@hns.com
Date: Tue, 29 Apr 2003 15:44:29 -0400
Content-Type: text/plain; charset="us-ascii"

I am having a problem creating directories, under Cygwin, in some, but not 
all, places on my local hard disk (NTFS).

To explain, here's a 2-part example:

Example 1:
dfriedmanlt:/cygdrive/c/Documents and Settings/dfriedman/My Documents> 
mkdir Foodir1
(directory gets created, no problem)

Example 2:
dfriedmanlt:/cygdrive/c/Documents and Settings/dfriedman/My Documents> cd 
DirAlreadyThere
dfriedmanlt:/cygdrive/c/Documents and Settings/dfriedman/My 
Documents/DirAlreadyThere> mkdir NewDir1
mkdir: cannot create directory `NewDir1': Permission denied

Note: If I try, via the Windows Explorer, to make the directory as 
attempted in Example 2, I have success.
[The reason I want to achieve this from the command line is for an rsync 
script.]

So, what's going on here?  I had thought that, perhaps the problem is a 
long path (for illustration, I abbreviated the directory structure in 
Example 2).

Any thoughts explaining, checking, diagnosing, or fixing this?

Thanks *very* much,
--daniel






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

