1.38: Bug set -o posix and "cd ."
Lloyd J Lewins
llewins@raytheon.com
Tue Dec 7 15:43:00 GMT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 32079 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041207/bc4d6b78/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4994 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041207/bc4d6b78/attachment.bin>
More information about the Cygwin
mailing list