Sometimes, just to make sure all files are private, a command
sudo chmod -R 000 .
If we want to change back the permissions back to "normal", what command can be used?
sudo chmod -R 777 .
will not work because it makes some files that are not supposed to be executable become executable. The executable flag is need for directories to be able to be accessible.
chmod 000
) – nonopolarity Apr 28 '17 at 15:06