I have been reading about Security of Design. I noticed a tip of lowest permission level. So I did the above code to my junk files. Unfortunately, the junk-folder seemed to contain some server files. A few sites become forbidden. The folder contained stuff such as ‘Mail’, ‘dev’ and ‘Public’. The reason for junking them was that they are empty.
The files are located in a server of a CS-dept. There is no special CMS or anything like that. Before running ‘chmod 644 some_files’, I am promth to ask your opinion.
Why did the sites become forbidden? What are the lowest permission levels?
Lowest possible permission level is of course 000. But that wouldn’t make much sense.
600 rw-------for private files700 rwx------for private directories711 rwx--x--xfor directories with public files, but without permission to list dir644 rw-r--r--for publicly readable files755 rwxr-xr-xfor publicly readable dirs