sh permission problem under win98

Robert O. Morris Robert.O.Morris@jpl.nasa.gov
Fri Dec 31 13:28:00 GMT 1999


Solved - there existed a directory named "mkdir" in a directory
 on my path.  sh.exe tried to pick that up and execute it - bash.exe
 doesn't do that.
 
 The cygwin bin dir had the "mkdir" directory in it, but I don't
 know if that's the way it came from the distribution or not.
 If yes - that would be a problem for others.
 
 Robert O. Morris wrote:
 >
 > Hi all . . . .
 >
 >   Looked everywhere - can't find or deduce solution.
 >
 >  I run bash in a typical way - double clicking an icon created
 >  during cygwin installation.  It points to the cygnus.bat file.
 >  I'm running the beta 20.1.
 >
 >  However, I have a problem that manifests itself during a make.
 >  My /bin/sh is there and it's not bash, but the borne shell from
 >  the distribution.
 >
 >  Distilling the problem to take make out of the equation . . . .
 >  and make things simpler . . . problem show below.
 >
 >  -Problem-
 >  BASH.EXE-2.02$ /bin/sh.exe
 >  $ mkdir xxx
 >  mkdir: permission denied
 >  --------
 >
 >    I believe permissions are a moot point in win98, so I don't
 >  know why this is behaving that way.  Seems very simple, but
 >  . . . I just don't see it.
 >
 >  $ ls > xxx functions just fine.
 >
 >  Thanks,
 >
 >  Rob Morris


To : "Robert O. Morris" <Robert dot O dot Morris at jpl dot nasa dot gov>
Subject : Re: sh permission problem under win98
>From : "Robert O. Morris" <Robert dot O dot Morris at jpl dot nasa dot gov>
Date : Tue, 14 Dec 1999 17:17:08 -0800
Organization : Nasa's Jet Propulsion Laboratory
References : <NDBBLMCMHIOHADMOEDJNCEABCIAA.Robert.O.Morris@jpl.nasa.gov> < 3856C2FC.B9DCC3D9@jpl.nasa.gov >

Solved - there existed a directory named "mkdir" in a directory
on my path.  sh.exe tried to pick that up and execute it - bash.exe
doesn't do that.

The cygwin bin dir had the "mkdir" directory in it, but I don't
know if that's the way it came from the distribution or not.
If yes - that would be a problem for others.


Robert O. Morris wrote:
> 
> Hi all . . . .
> 
>   Looked everywhere - can't find or deduce solution.
> 
>  I run bash in a typical way - double clicking an icon created
>  during cygwin installation.  It points to the cygnus.bat file.
>  I'm running the beta 20.1.
> 
>  However, I have a problem that manifests itself during a make.
>  My /bin/sh is there and it's not bash, but the borne shell from
>  the distribution.
> 
>  Distilling the problem to take make out of the equation . . . .
>  and make things simpler . . . problem show below.
> 
>  -Problem-
>  BASH.EXE-2.02$ /bin/sh.exe
>  $ mkdir xxx
>  mkdir: permission denied
>  --------
> 
>    I believe permissions are a moot point in win98, so I don't
>  know why this is behaving that way.  Seems very simple, but
>  . . . I just don't see it.
> 
>  $ ls > xxx functions just fine.
> 
>  Thanks,
> 
>  Rob Morris



More information about the Cygwin mailing list