I have a php script in a directory called /manager. In it, I open and write to a file in the directory above /manager. However, if the permissions are set to allow owner write, I get "failed to open stream: Permission denied"
It only works when I change permissions to allow public write, but doesn't this allow anyone to write to my file? Could this be happening because it is reaching up a directory, or am I misunderstanding permissions?