Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <3856ED1A.D829963B@jpl.nasa.gov> Date: Tue, 14 Dec 1999 17:21:30 -0800 From: "Robert O. Morris" Organization: Nasa's Jet Propulsion Laboratory X-Mailer: Mozilla 4.06 [en] (X11; U; IRIX 6.2 IP22) MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com CC: Robert DOT O DOT Morris AT jpl DOT nasa DOT gov Subject: re: sh permission problem under win98 Content-Type: multipart/mixed; boundary="------------2CCD5B4A4EBC394351993CAB" Note-from-DJ: This may be spam --------------2CCD5B4A4EBC394351993CAB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------2CCD5B4A4EBC394351993CAB Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: Received: from eis-msg-021.jpl.nasa.gov (eis-msg-021.jpl.nasa.gov [137.78.160.201]) by CBL-rmorris2-b.hs.earthlink.net (8.9.3/8.8.7) with ESMTP id RAA05250 for ; Tue, 14 Dec 1999 17:08:04 -0800 Received: from CBL-rmorris2-b.hs.earthlink.net by mhs.jpl.nasa.gov with ESMTP for Robert DOT O DOT Morris AT jpl DOT nasa DOT gov; Tue, 14 Dec 1999 17:12:42 -0800 Received: from jpl.nasa.gov (narwhal.jpl.nasa.gov [137.78.31.48]) by CBL-rmorris2-b.hs.earthlink.net (8.9.3/8.8.7) with ESMTP id RAA05245 for ; Tue, 14 Dec 1999 17:07:51 -0800 Sender: rmorris AT CBL-rmorris2-b DOT hs DOT earthlink DOT net Message-Id: <3856EC14 DOT DDF23448 AT jpl DOT nasa DOT gov> Date: Tue, 14 Dec 1999 17:17:08 -0800 From: "Robert O. Morris" Organization: Nasa's Jet Propulsion Laboratory X-Mailer: Mozilla 4.06 [en] (X11; U; IRIX 6.2 IP22) MIME-Version: 1.0 To: "Robert O. Morris" Subject: Re: sh permission problem under win98 References: <3856C2FC DOT B9DCC3D9 AT jpl DOT nasa DOT gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------2CCD5B4A4EBC394351993CAB Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --------------2CCD5B4A4EBC394351993CAB--