allowed to execute=1, allowed to write=2, allowed to read=4
grouped by owner/group/everyone.
So one of your own files you have full access to while users in your usergroup are only allowed to read it and nobody else has any permissions would have: 740 (read+write+execute / read / none).
sudo is telling the computer to do this with root privileges.
chmod sets permissions.
Each digit of that three-digit number corresponds to the owner, the group, and other users, respectively. It’s 0–7, where 0 means no access and 7 means access to read, write, and execute. So 077 is the exact inverse of 700, where 077 means “the owner cannot access their own files, but everyone else can read, write, and execute them”. Corresponding 700 to asexuals is joking that nobody but the owner can even so much as touch the files.
/ is the root directory, i.e. the very top of the filesystem.
The -R flag says to do this recursively downward; in this case, that’s starting from /.
So here, we’re modifying every single file on the entire system to be readable, writable, and executable by everyone but their owner. And yes, this is supposed to be extremely stupid.
Just wait until you need to figure out what you want when you want something other than all or none for those permissions. 4 is read, 2 is write, 1 is execute. Add them up to get what you want for each owner/group/other portion.
7 is read, write, and execute permissions. 700 is owner, but not group or others. 077 means the owner has no permissions, but group and others all have full permissions.
asexuals and demisexuals be like
sudo chmod -R 700 /
Doms with cuck and denial fetishes have partners like
sudo chmod -R 077 /
Jesus Christ
What do the funny words mean? (i understand neither 700 & 077)
File permissions…
allowed to execute=1, allowed to write=2, allowed to read=4
grouped by owner/group/everyone.
So one of your own files you have full access to while users in your usergroup are only allowed to read it and nobody else has any permissions would have: 740 (read+write+execute / read / none).
sudo
is telling the computer to do this with root privileges.chmod
sets permissions.077
is the exact inverse of700
, where077
means “the owner cannot access their own files, but everyone else can read, write, and execute them”. Corresponding700
to asexuals is joking that nobody but the owner can even so much as touch the files./
is the root directory, i.e. the very top of the filesystem.-R
flag says to do this recursively downward; in this case, that’s starting from/
.So here, we’re modifying every single file on the entire system to be readable, writable, and executable by everyone but their owner. And yes, this is supposed to be extremely stupid.
Thank you a lot.
The funny words have a useful meaning :D
This is the best comment I’ve come across in a while. Thank you so much for breaking it down so well.
Just wait until you need to figure out what you want when you want something other than all or none for those permissions. 4 is read, 2 is write, 1 is execute. Add them up to get what you want for each owner/group/other portion.
7 is read, write, and execute permissions. 700 is owner, but not group or others. 077 means the owner has no permissions, but group and others all have full permissions.
Thank you for the explaination ^^
Really, you and @[email protected] really out did yourselves