This is the mail archive of the cygwin 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]
Other format: [Raw text]

1.38: Bug set -o posix and "cd ."


In bash, after entering posix mode (set -o posix), if the current path is 
a mounted UNC file, then cd fails. For example:
 
bash-2.05b$ mount
c:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system 
(binmode)
\\es-eng-essfile\users\00c3197 on /home/00c3197 type user (binmode)
\\es-eng-essfile\hpps on /home/hpps type system (binmode)
c:\cygwin\bin on /usr/bin type system (binmode)
c:\cygwin\lib on /usr/lib type system (binmode)
c:\cygwin on / type system (binmode)
c: on /c type system (binmode)
d: on /d type system (binmode)
i: on /i type system (binmode)
j: on /j type system (binmode)
l: on /l type system (binmode,noexec)
e: on /cygdrive/e type user (binmode,noumount)
f: on /cygdrive/f type user (binmode,noumount)
g: on /cygdrive/g type user (binmode,noumount)
s: on /cygdrive/s type user (binmode,noumount)
bash-2.05b$ pwd
/home/hpps
bash-2.05b$ cd .
bash-2.05b$ set -o posix
bash-2.05b$ cd .
bash: cd: .: No such file or directory

Others have seen this problem, for example:
 
http://www.cygwin.com/ml/cygwin/2003-12/msg00663.html



Lloyd J. Lewins
Fellow,
Raytheon Co.,
llewins@raytheon.com
+1 (310) 647-8832

Attachment: cygcheck.out
Description: Binary data

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


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