I am having some trouble setting the permissions on an Apache Server (Ubuntu Server 12.04 LTS). I moved the directory to my home directory. I was able to give apache permissions to that directory. But, it didn’t apply to the sub directories.
Is there a way to apply permissions to all the subfolders?
I am fairly new to Ubuntu Server and would appreciate the help.
chown -R www-data:www-data /home/
http://en.wikipedia.org/wiki/Chown
Also you can try what @mjgpy3 suggested