delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/01/04:45:27

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C5A638A.2090309@syntrex.com>
Date: Fri, 01 Feb 2002 10:44:42 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Derek M. Tournear" <tournear AT stanford DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: Can't create new file/directory
References: <000c01c1aa86$00d25b10$e2824f86 AT slac DOT stanford DOT edu>


Derek M. Tournear wrote:

> OK here is some more info:

[ snip ]


> When I start cygwin and go into any directory with any permissions set,
> and try to mkdir new or touch new (or any name for that matter) I get 
> [EQUULEUS] temp 24% touch new
> touch: creating `new': Permission denied
> [EQUULEUS] temp 25%
> OR
> [EQUULEUS] temp 26% mkdir new
> mkdir: cannot create directory `new': Permission denied
> [EQUULEUS] temp 27%


Are you running the commands from within the cygwin bash shell or
from the NT command interpreter ?

Please, provide the output of the following commands 'which touch' and 
'which mkdir'. I see you have a hell of a PATH environment on your 
system and also you have uwin which provides this tools (touch, mkdir) 
too. Also there is this strange C:\NTWORK~1\COMMON\COMMON folder which 
cntains some unix tools too (ls.exe for example and maybe more) - and it 
also precedes the occurance of the cygwin bin directory in your PATH. 
And there is the cygwinb19.dll in the window system dir which makes me 
think that the tools in the C:\NTWORK~1\COMMON\COMMON may be linked
against this old version of the cygwin emulation dll.

All this means exactly one thing - TROUBLE! A simple thing you can try
to do - move the cygwin bin directory in the beginning of you PATH
variable and then try to create dir or touch files again.


--
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