Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-04-13
14:59 • New ticket [2986531fff] file command enhanced to use effective user-ids. artifact: 3eaa5bcade user: lvirden

file command enhanced to use effective user-ids

Open2986531fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-04-13 14:59:30
Currently the file command performs all its functions using the real user-id of the user. However, there are times when a tcl script needs to run with an effective user-id different than one's real user-id.

When this happens, one can always perform an "open filename r" with a catch to see if the file will open, but it would be useful if one could just use file readable to test the file.

There are likely other scenarios where other of the file command's subcommands would be useful to use in a "set-userid" scenario.
Log in (anonymous is fine) to add a comment.