Skip to content
Tcl Source Code View Ticket
Login

View Ticket

cd/pwd have problems on Windows Vista

Closed / Fixed1926459fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 14 years ago
Descriptionplain2008-03-26 19:32:56
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

[[email protected]]
dkf Ticket [1926459fff]: 2 changes [History diff]2008-03-27 16:53:06
nijtmansplain2013-01-09 21:25:23
allow_comments - 1

Dup of 3092089/3587096. Fixed now in all branches.
Log in (anonymous is fine) to add a comment.