chmod (CHange MODe) is one of the basic Unix command-line tools. It is also the name of a TclX command with the same functionality. In newer Tcl versions, one can use file attributes (with option -permissions) to set this information.
A use of the Unix command that is often needed is
chmod u+x myscript.tcl
or
chmod a+x myscript.tcl
to make the Tcl script myscript.tcl executable (for just you or for all users, respectively). This assumes the script contains something like the exec magic that lets the kernel figure out how to run this script, though.
Category?