Gitolite denies access to a repo while allowing another

318 views Asked by At

I have gitolite up and running and I work with it from multiple machines for quite a while. Therefore there are several of my 'rob' keys in gitolite-admin. These days from this machine are awkward:

Part of my gotolite.conf

repo ProPro OpenTK-10Bit-test
    RW+     =   rob

Interestingly cloning ProPro to my Win8 desktop works, while a clone to OpenTK-10Bit-test is denied as if it was not there:

Cloning into 'E:\src\OpenTk-10Bit-test'... FATAL: R any OpenTk-10Bit-test rob DENIED by fallthru (or you mis-spelled the reponame) fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Converseley I am committing from a Win7 machine for quite a while already. What is going on? Are there any bad characters? There might be a difference that Win7 I use git from bash. But on my laptop I also access this repo with Tortoise from Win8.

1

There are 1 answers

1
VonC On BEST ANSWER

While Windows is not case sensitive, Gitolite is, testing for the existence of the bare repo folder (see lib/Gitolite/Conf/Load.pm#L245-L250).

or you mis-spelled the reponame

If the gitolite.conf file allows access for OpenTK-10Bit-test, trying to clone OpenTk-10Bit-test (as commented by And) will not work and will be denied.