I'm currently trying to deploy Magento
using git
post-receive
but I'm stuck on file permissions. There is the git and the www-data user - I'm guessing git needs write permission to write to /var/www/html/ but Magento
suggests that www-data have permission set to 500 on most dirs and 400 on files.
How does one deal with such situation?