This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cd /d/somedir fails, but cd /d; cd somedir works


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@sourceware.cygnus.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.tolkin@fmr.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]