This is the mail archive of the
mailing list for the Cygwin project.
RE: cd /d/somedir fails, but cd /d; cd somedir works
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: RE: cd /d/somedir fails, but cd /d; cd somedir works
- From: "Tolkin, Steve" <Steve dot Tolkin at fmr dot com>
- Date: Wed, 14 Jun 2000 15:00:37 -0400
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: /
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: 'firstname.lastname@example.org'
> 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,
Steven Tolkin email@example.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 firstname.lastname@example.org