Posted by: Administrator
on January 27, 2004 06:07 PM
Just use chmod u+w [file] to give the user write access; chmod a-r [file] to take read access away from 'all' (third group) and chmod +x [file] to make a file executable. You have u, g, and a, and can do + or - r, w, x.
No counting. Easy.
The next important thing is: chown [user] [file] and then chgrp [user] [file]
And the most important command line command: man man chmod man chgrp man chown
chmod without binary counting
Posted by: Administrator on January 27, 2004 06:07 PMchmod u+w [file]
to give the user write access;
chmod a-r [file]
to take read access away from 'all' (third group) and
chmod +x [file]
to make a file executable.
You have u, g, and a, and can do + or - r, w, x.
No counting. Easy.
The next important thing is:
chown [user] [file]
and then
chgrp [user] [file]
And the most important command line command:
man
man chmod
man chgrp
man chown
#