Hi,

I'm not sure if this goes in here or not but I am having trouble understanding how permission are changed.

Example:
This is an example our lecturer went through with us in class.

Determine the permissions that would apply if the following chmod commands were run?
chmod 777 file1 –rwxrwxrwx file1
chmod 754 file2 –rwxr-xr- file2
chmod 4222 file3 –wS-w—w- file3
chmod 2345 file4 –rwxr-Sr-x file4
chmod 1555 file5 –r-xr-xr-t file5
chmod 5705 file6 –rws---w-xt file6

Now, I understand that 777 is for a file and 666 is for a folder when everything is in player I am just confused how we ended up with the other values?

Thanks,


Nightwalker