Unable to Mercurial in $HOME directory
Anton Shestakov
engored at gmail.com
Tue Jun 27 18:14:28 UTC 2023
пн, 26 июн. 2023 г. в 14:12, Stephen Rasku <mercurial at srasku.net>:
> Typically, I clone the repo into a sub-directory and then move the .hg file up one directory to the $HOME directory. I've never had problems with this before on multiple systems. But now I am getting the following error:
I'm not exactly sure how that would work in practice, but since you
say it was fine before, and the error seems to be in something else
(at the first glance at least), I don't have any comments yet. It
could be an edge case that isn't as thoroughly tested as other uses
though, so maybe you'll need to file a bug report on
https://wiki.mercurial-scm.org/BugTracker
Let's first try to see what's the problem with the file permissions.
> $ hg log
> abort: Permission denied: '/home/srasku/.hg/requires'
Try `namei -l /home/srasku/.hg/requires`, it should show you the
permissions of all components one by one, just make sure they all make
sense. Try running the command when .hg is in a subdirectory as well
and compare the results.
More information about the Mercurial
mailing list