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

Cannot access /tmp/ray when another user has created the directory #3590

Closed
devin-petersohn opened this issue Dec 20, 2018 · 2 comments
Closed
Assignees
Labels
bug Something that is supposed to be working; but isn't

Comments

@devin-petersohn
Copy link
Member

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • Ray installed from (source or binary):
  • Ray version:
  • Python version:
  • Exact command to reproduce:

Describe the problem

Despite changing the permissions here, I am unable to access the directory if someone else has created it.

Source code / logs

su devin python -c "import ray; ray.init(); sleep(10)"
su alexey python -c "import ray; ray.init(); sleep(10)"
@devin-petersohn devin-petersohn added the bug Something that is supposed to be working; but isn't label Dec 20, 2018
@devin-petersohn devin-petersohn self-assigned this Dec 20, 2018
@robertnishihara
Copy link
Collaborator

Can you check the actual permissions of /tmp/ray? Perhaps the attempt to change the permissions failed.

@devin-petersohn
Copy link
Member Author

This was resolved with #3591. I found a race condition that was preventing the permissions from being deterministically changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't
Projects
None yet
Development

No branches or pull requests

2 participants