Whenever I restart my computer and try to run some PHP script on the localhost, I get error messages saying that the script cannot write to a certain file/directory.
I solve the problem by:
su - root
chmod -R a+w /home/user/www
However, I have to do this again after I restart my computer...
Is there a better solution?
What am I missing?