|Ian John Locke II
||01-09-2012 11:11 AM
Originally Posted by ggalan
is it possible to find out what the chmod number is on a file or directory?
gives me something like this
but would like numbers
it's easy to figure out what the number is. Each
is an octet, i.e, those three letters can form a value of no more than 7 and no less than 0. If you know binary then you should know that 100 = 4, 010 = 2, and 001 = 1. Then just think of the following r = 4, w = 2, and x = 1. So for your example, the permissions in numeric form are