For discussions on how to manage the files and directories where data gets stored
It's generally not a good idea to have 777 permissions for the data. Those files and directories should instead have their owner set to whatever user apache is running as. It's easy enough to do that manually, but there are a number of problems:
do=install that is called once when setting up. Set 777 permissions for your home just long enough for apache to create the files— SameerDS (17 Jan 2005)