Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied when sharing the cache directory with other user #73

Open
crystina-z opened this issue Jun 16, 2020 · 0 comments
Open

Comments

@crystina-z
Copy link

when the package has already been installed by other users (in another environment), executing pip install pymagnitude would yield the following error:

Collecting pymagnitude
  Using cached pymagnitude-0.1.143.tar.gz (5.4 MB)
    ERROR: Command errored out with exit status 1:
     command: /data-crystina/anaconda3/envs/maxp/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data-crystina/tmp/pip-install-m25zv94t/pymagnitude/setup.py'"'"'; __file__='"'"'/data-
crystina/tmp/pip-install-m25zv94t/pymagnitude/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '
"'"'exec'"'"'))' egg_info --egg-base /data-crystina/tmp/pip-pip-egg-info-u879g2v4
         cwd: /data-crystina/tmp/pip-install-m25zv94t/pymagnitude/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/data-crystina/tmp/pip-install-m25zv94t/pymagnitude/setup.py", line 178, in <module>
        'a+')
    PermissionError: [Errno 13] Permission denied: '/tmp/magnitude.install'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

which is probably due to the mode of file /tmp/magnitude.install is rw-r--r-- so the file cannot be modified by other users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant