Unix permissions for user, group, and other have traditionally been expressed using a set of three (octal) digits, where each digit represents the octal number you get by expressing the threerwxpermissions in binary form. Convert the enabled permission bits inrwxinto binary, using1for enabled an...
Octal is also the ideal format to describe a UNIX file permission: For each of User, Group and Others you can specify read, write, and execute permissions. If you write the bits, they are rwxrwxrwx, so octal makes sense here. Most people use 0644 for their non-executable files, which...