I have a website and we publish it like this:<div><br></div><div>ssh server</div><div>cd /path</div><div>git pull</div><div>sudo service apache2 reload</div><div><br></div><div>Me and another person take turns doing this. We're both in a group called webdev. However, sometimes after one of us does a pull the other gets permission problems and we have to chgrp -R webdev . && chmod -R g+w .</div>
<div><br></div><div>What's the best way to deal with this?<div><br></div>-- <br>Matthew Nuzum<br>newz2000 on freenode, skype, linkedin and twitter<br><br><p>
</p><p><span>♫</span> You're never fully dressed without a smile! <span>♫</span></p><p></p><br>
</div>