Permission denied on run 'make tests'

Kevin Grover kevin at kevingrover.net
Fri May 27 10:33:31 CDT 2011


You probably ran make (or unpacked the archive) as root and created a file
that your normal user does not have permissions to read.

Run 'sudo make clean' to clean it out (as root), then re-make as your normal
user account.

Or, you could change premissions 'sudo chmod -R a+rX .' in the directory
where you ran make.

On Fri, May 27, 2011 at 10:29, yun lee <yun.lee.bj at gmail.com> wrote:

> hello, when I run 'make tests'
>
> make tests
> cd tests && python run-tests.py
> Traceback (most recent call last):
>  File "setup.py", line 176, in <module>
>    f = open("mercurial/__version__.py", "w")
> IOError: [Errno 13] Permission denied: 'mercurial/__version__.py'
> make: *** [tests] Error 1
>
> what's the problem, please?
>
>
> --
> Yun Lee
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110527/db37052d/attachment.htm>


More information about the Mercurial-devel mailing list