Greetings,
I am attempting to change the gitolite username and corresponding home directory of said user and am hitting a snag...
From: gitolite,/var/lib/gitolite
To: git,/var/lib/git
I copy over all the files:
# cp -rp /var/lib/gitolite/{.*,*} /var/lib/git
and change ownership:
# chown -R git:git /var/lib/git/{.*,*}
I fail to be able to clone a repo through the new username/home dir:
$ git clone git@gitolite-server:foo-repo
Cloning into 'foo-repo'...
FATAL: R any foo-repo user-bar 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.
...but the old username/home dir still work - as expected:
$ git clone gitolite@gitolite-server:foo-repo
Cloning into 'foo-repo'...
remote: Enumerating objects: 306, done.
remote: Counting objects: 100% (306/306), done.
remote: Compressing objects: 100% (300/300), done.
remote: Total 306 (delta 146), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (306/306), 52.52 KiB | 7.50 MiB/s, done.
Resolving deltas: 100% (146/146), done.
This is the only log messages I see:
2026-05-18.14:18:53 89263 ssh ARGV=user-bar SOC=git-upload-pack 'foo-repo' FROM=10.0.0.10
2026-05-18.14:18:53 89263 die R any foo-repo user-bar DENIED by fallthru<<newline>>(or you mis-spelled the reponame)
Have others attempted this sort of change and have any tips or where to look for debugging information?
Thanks,
-m