Why won't these permissions do what I wish?
- by Chris B.
I am trying to make my folder owned by "apache" and then chmod that folder so that only the owner and group can access it. I am trying to do this to keep visitors from executing user-uploaded files directly. Here are the commands I am using:
chown -R apache uploads
chmod -R 770 uploads
Source: http://www.mysql-apache-php.com/fileupload-security.htm
Instead it seems that although it is keeping visitors from seeing the files, it is not allowing apache to serve them. Do you have any ideas?