[Cialug] permission probs when two people use git for publishing

Matthew Nuzum newz at bearfruit.org
Tue Jan 3 11:24:17 CST 2012


I have a website and we publish it like this:

ssh server
cd /path
git pull
sudo service apache2 reload

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 .

What's the best way to deal with this?

-- 
Matthew Nuzum
newz2000 on freenode, skype, linkedin and twitter

♫ You're never fully dressed without a smile! ♫
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20120103/91096b0d/attachment.html>


More information about the Cialug mailing list