Quoted By:
by the way, i have an idea about why the number 7 is significant in the bible and i think it is related to octal notation binary (which is what computers use for a lot of stuff)
So in octal notation you have three settings for permissions:
4-read
2-write
1-execute
the way this like with the binary is basically three zeros and ones like this
100-read
010-write
001-execute
so if you have full permission you have a "7" or a read, write, execute.
usually files are broken up into user, group, and world permission so it looks like this
(user)(group)(world)
(rwx)(rwx)(rwx)
most files on a system will probably have these permissions 755:
rwxr-xr-x
and a umask is when the 7 means the opposite, no permissions at all so like this
--------- or 000 permissions, cant read write or execute
remember how anyone who slew cain would be cursed seven times over, and then later the lamech guy said 77 times. starting to make sense if you see it like the file permissions to something.