Does fabric/mercurial have post-receive hooks like git? I use this do
a recursive chown after every update to be safe.

On Feb 18, 11:54 pm, pbreit <pbreitenb...@gmail.com> wrote:
> I just had a site outage after deploying some code changes. Somehow, some of
> my directories and files had become owned by root instead of www-data which
> apparently denied some sort of access. I'm not exactly sure how it happens
> and what the deal is with www-data.
>
> I'm running Cherokee on Ubuntu. For deployment I use fabric to hg pull from
> bitbucket.
>
> I forgot which forlders/files were affected because I did a recursive chown
> on the whole directory. Can anyone help me understand the need for www-data
> ownership and how to make sure my files/folders remain properly owned.
> Thanks.

Reply via email to