Permission problems with Git sharedRepository -


I am using Geothilate to manage my git repositories. And I also use a third-party web application to display the repository.

However every time I do a git push --all git@myserver.com: myproject , then the third party web application can not access repository files That's why I need to run chmod go + rx -r / path / to / the / repository / folder to see the repository every time.

I have set the git config core.sharedRepository all but do not remember permissions even after git push

I How can I solve this problem?

You update your non-fetched status (with the right ACL) from your bare repo managed by your gatelight One can define to.

By the time you use (in Geollight V3), you can define a post-received hook in which you Will do it.

It is being said, also check that your GitoliteRC has no effect on this issue:

$ UMASK , The numeric, default 0077

uses the default UMASK that the gitolite makes all repos and their content is rwx ------ permissions.
People who want to run gitweb know that this will not happen.
The way to deal with this is to convert this variable to 0027 (which you get in rwxr-x --- ), then the Apache or httpd user is a member of the 'guitolit' group Run on the webserver as

Please keep the syntax in mind; Key 0 is required if you change it after the installation is completed, then you have to do some chmod to adjust the permissions of files and directories already created.

(Note: REPO_MASK found with UMASK )

Comments