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: From: "Tolkin, Steve" To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: RE: cd /d/somedir fails, but cd /d; cd somedir works Date: Wed, 14 Jun 2000 15:00:37 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" I think I have found and fixed the problem. It was indeed that C: was mounted in binmode. After I did this: 505~> mount -f -t c: / 506~> mount Device Directory Type Flags C:\bin /usr/bin user binmode C:\lib /usr/lib user binmode d: /d user textmode f: /f user textmode c: / user textmode e: /e user textmode my "Permission denied" problems, as mentionned below, went away! I think this should be added to the FAQ and/or other relevant documents. > -----Original Message----- > From: Tolkin, Steve > Sent: Wednesday, June 14, 2000 12:55 PM > To: 'cygwin AT sourceware DOT cygnus DOT com' ... > 0. I am running cygwin 1.1.1 and so I will later upgrade to > 1.1.2 to see if that solves the cd /d/somedir problem. In > the meantime I see some other anomalies, I am hoping that one > of these is the cause of my "Permission denied" problem > described in earlier emails, for which I still do not have > any workaound. > > Summary: I get Permission denied from gcc, rcsdiff, and sort. > The first two are forking another process to do the IO, e.g. > gcc runs cpp.exe which is what actually reports the problem. > 1927/> TMP=/ > 1928/> gcc a.c > cpp.exe: /cc7nEycW.i: Permission denied > This same failure happens even if I set TMP to a textmode device. > I am completely stuck on this. > 1929/> echo $CYGWIN > ntsec tty notitle > > 1. I do not have unmount anywhere in my path? Why not? > 1924/> unmount /e > bash: unmount: command not found > > 2. The output of the mount command shows that C: is binmode > rather than textmode. Is this a problem? > Device Directory Type Flags > C:\bin /usr/bin user binmode > C:\lib /usr/lib user binmode > d: /d user textmode > f: /f user textmode > C: / user binmode > e: /e user textmode > ... Hopefully helpfully yours, Steve -- Steven Tolkin steve DOT tolkin AT fmr DOT com 617-563-0516 Fidelity Investments 82 Devonshire St. R24D Boston MA 02109 There is nothing so practical as a good theory. Comments are by me, not Fidelity Investments, its subsidiaries or affiliates. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com