I'm getting a strange error message when I execute $HOME/bin/gitolite setup -pk /tmp/mark.pub. I followed the "fool-proof, step-by-step, install and setup" Here is what I did:
1. Created a git user account
2. I am transferring my repo to a new computer so I am using the admin key from the old server.
3. sudo -i to get root access
4. su -git
5. copied mark.pub to /tmp/bin
6. cloned
https://codeberg.org/sitaramc/gitolite7. cd to $HOME which is /home/git
8. mkdir -p bin
9. gitolite/install -to $HOME/bin (SUCCESS!) At this point all of the files in git user are owned by git
10. cd to $HOME
11. $HOME/bin/gitolite setup -pk /tmp/mark.pub (ERROR!)
FATAL: errors found but logfile could not be created
FATAL: /home/git/.gitolite/logs/gitolite-2026-01.log: No such file or directory
FATAL: die
'/tmp/mark.pub' not a readable file
I have used gitolite for years and it has always just worked. Kudos to the creator.
I don't understand what "FATAL: die
'/tmp/mark.pub' not a readable file" is trying to tell me. The file is readable and rw permisions.
Any help is appreciated.
Mark