The first digit is the user who owns it. (u) The second is other users in the file's group (g) The third is other users not in the file's group (o) The fourth is All Users (a)
Hi, If you give chmod only three digits, then the highest bit is assumed to be zero. So, "chmod 077"=="chmod 777". That highest bit means: 4=setUID 2=setGID 1=sticky If you don't know what those mean, don't screw around with them.