delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/29/15:44:55

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
To: cygwin AT cygwin DOT com
Subject: Can mkdir here, can't mkdir there
MIME-Version: 1.0
Message-ID: <OF5457DC26.0B0E8E83-ON85256D10.0053D6E9@LocalDomain>
From: dfriedman AT hns DOT com
Date: Tue, 29 Apr 2003 15:44:29 -0400

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/

- Raw text -


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