View Full Version : Octal access codes
andyhaus1057
Oct 7, 2009, 02:53 PM
a) How do octal access control codes work?
b) How do you set access controls with command line options instead of octal codes?
Stratmando
Oct 7, 2009, 03:12 PM
What are you working with?
Try this:
Ascii Table - ASCII character codes and html, octal, hex and decimal chart conversion (http://www.asciitable.com/)
Scleros
Oct 7, 2009, 04:42 PM
Strat, this question is a follow-up to Unix controls (https://www.askmehelpdesk.com/other-programming/unix-controls-403665.html).
How do octal access control codes work?
The Wikipedia article I referenced in Unix controls (https://www.askmehelpdesk.com/other-programming/unix-controls-403665.html) covers this. What isn't clear?
How do you set access controls with command line options instead of octal codes?
See the chmod command man page (http://www.manpagez.com/man/1/chmod/) or the man page on your system, particularly the parts regarding specifying the parameters of the command using symbolic mode. Only root or the file's owner can make changes. Example: chmod u=rwx MyFile.