[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] My dog ate my Unix admin book



> Can someone help I need to know the right # designation for 
> (rwx--x--x) Like
> the subject says, I got a new puppy and that shit ate my Unix admin book
> lastnight, that little #$%#^@$@#^%@#&!#!@^%#$@!@^%#$@^..... :-)

That would be 711.

The easy way to figgure that out is to look at it as a binary number:

RWX RWX RWX  Three sets of the following:

Read = 4
Write = 2
Execute = 1

Just add the permissions up  
Read and Execute access would be 4+1=5
Read and Write access would be 4+2=6
Read access only would be 4
etc.

JC Jones  :)