I have a php script that produces text files. A directory in the web folder is assigned for this reason. Someone said that the directory must must be given write permission for "all" for it to work. Is it true? Is there no way to turn php into a "owner" who has those permissions which limits write permissions rather than giving to everyone?