
|
The 'chmod' command
The command 'chmod' defines who can access your files or directories. There are
four types of people who can access your files, yourself(u), people in the same
group(g), and others(o), and all(a). Similarly, there are three ways that they
can access the file, looking at it(r), editing it(w), and running it if it is a
program(x). The command format is chmod usertype=accesstypes file.name . You can
include multiple access types in the one command, i.e. you can give group
members write and execute rights by typing chmod g=xw file.name.
Usage:
'chmod u=wrx file.name'
|