Common problems and troubleshooting

You may need to modify the procedure described earlier under some circumstances. This section will describe some of the problems that you may find and how to work around them.

Ownership and permissions

Gitolite expects that all the files and directories inside $HOME/repositories are owned by the Gitolite hosting user, and that this user is allowed to write to all of them. If this condition is not met, both Git and Gitolite will be affected.

The most common reason for such a condition to be violated is that the administrator has copied some files (such as a bunch of existing repositories perhaps) as root. When files are copied as root, they are not usually given the owner and group ID of the directory in which they ...

Get Gitolite Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.