GIT Group Permission

Posted on October 08, 2011

http://mapopa.blogspot.com/2009/10/git-insufficient-permission-for-adding.html

cd repository.git

sudo chmod -R g+ws *
sudo chgrp -R mygroup *

git repo-config core.sharedRepository true

Change File Permission In Command Line

Posted on June 24, 2011

Find all file in the giving folder and change the permission to 644
find /path/to/apache -type f -print0 | xargs -I {} -0 chmod 0644 {}

Find all folder in the giving folder and change the permission to 755
find /path/to/apache -type d -print0 | xargs -I {} -0 chmod 0755 {}