How can I set chmod 777
for my lamp server?
I am the owner of the www
folder (sudo chown -R martin www
).
I have changed the permissions of all files (sudo chmod 777 -R www
).
I don't know why, but my website is working only with chmod 777
. Otherwise I see only white page.
I'm working with .tpl
files (include file="header.tpl"
, but when I use a new file , it will be not shown until I make chmod 777
for that file).
How can I set chmod 777
permanently for all new files in this folder?