[tpm] Apache permission question

Indy Singh indy at indigostar.com
Tue Oct 6 16:59:20 PDT 2009


> To delete the file, the user has to have write permission on the 
> directory
> containing the file, not the file itself.
Aha, that works.  Simple solution for my needs.  Thanks.

Thanks everyone for your suggestions.

Indy Singh
IndigoSTAR Software -- www.indigostar.com


----- Original Message ----- 
From: <arocker at vex.net>
To: <tpm at to.pm.org>
Sent: Tuesday, October 06, 2009 6:19 PM
Subject: Re: [tpm] Apache permission question


> >
>> 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 ---)
>
> _______________________________________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/listinfo/toronto-pm 



More information about the toronto-pm mailing list