PDA

View Full Version : Directory permissions


Terence
07-31-2002, 04:11 AM
According to this page about permissions: http://www.aota.net/Troubleshooting/forbidden.php4


For directories the recommended mode is 755 (rwxr-xr-x)


Is that really wise as a default setting at FQ? With 755, all directories are world-readable so that the public can view all files within a directory if no index file is in place.

Anyway, I don't want the public to be able to view my directories, so I've changed the permission to 751. Question: what does it mean for a directory to be world-executable (which a 751 directory is)? Is it better to set the directory to 750?

Also, is there a way to mass chmod all my directories to 751 or whatever permission I want to?

Thanks.