Tcl Source Code

View Ticket
Login
Ticket UUID: 2986531
Title: file command enhanced to use effective user-ids
Type: RFE Created on: 2010-04-13 14:59:30
Submitter: lvirden Assigned to: vincentdarley
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2010-04-13 14:59:30
Status: Open Closed by:
Resolution: None Closed on:
Version: None
Description:
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.