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]

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


In bash, after entering posix mode (set -o posix), if the current path is a
mounted UNC path, 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 directorybash: cd: .: No such file or directory

This really clobbers configure scripts (which use the POSIX mode).

Others have seen this problem, for example:

http://www.cygwin.com/ml/cygwin/2003-12/msg00663.html

Lloyd Lewins
llewins@raytheon.com

Attachment: cygcheck.out
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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