[tpm] Apache permission question

arocker at vex.net arocker at vex.net
Tue Oct 6 15:19:50 PDT 2009

> It looks like a user id issue.  I don't really want to give the file
> world write permission.

To delete the file, the user has to have write permission on the directory
containing the file, not the file itself.

Make the directory's permissions  rwxrwxr-x (775) and add Apache to the
group owning the directory. That will allow a script running as Apache to
delete files. (I think it would work even if the "world" permissions were
as tight as ---)

More information about the toronto-pm mailing list