On Windows Vista, as a standard (non-admin) user
the following tcl code
cd "C:/Documents and Settings"
pwd
-> displays C:/Documents and Settings
cd myname (replace with your user name)
-> does not complain but
-> does not change the directory actually
pwd
-> displays C:/Documents and Settings/
In comparison, the Cygwin shell behaves correctly.
It changes the current directory and the second pwd
displays C:/Documents and Settings/myname
The problem seems to be caused by the fact that
the permissions are more restrictive on Vista:
- one cannot read the contents of
C:/Documents and Settings
- but one can change to the myname subdirectory
(this is the equivalent of the --x permission on Unix)
Apparently, Tcl is confused by these permissions
[hubert.garavel@inria.fr]
Dup of 3092089/3587096. Fixed now in all branches.