I was starting out with git and decided to have a look at help pages. Upon typing:
git help config
I receive the following error message:
man: can't resolve /usr/share/man/man1/git-config.1.gz: No such file or directory
No manual entry for git-config
See 'man 7 undocumented' for help when manual pages are not available.
the package was built from source so I realised that the man pages were separate. I downloaded corresponding man pages in tar.gz format and tried to extract them to:
/usr/share/man/
using this command:
sudo tar -xzf git-manpages-1.8.4.3.tar.gz -C /usr/share/man
unfortunately it changes the ownership from root to user 110493 and group 5000. The git help command now reads:
man: can't resolve /usr/share/man/man1/git-config.1.gz: Permission denied
No manual entry for git-config
See 'man 7 undocumented' for help when manual pages are not available.
What can I do to finally make it work? It shouldn't take one day to install a set of manual pages.