Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Installation failing due to no write permissions on nvidia-docker/ #50

Closed
grisaitis opened this issue Feb 12, 2016 · 3 comments
Closed

Comments

@grisaitis
Copy link

Sorry, finding a separate issue from my other one (#49)...

Starting from a clean repo, I'm finding that sudo make install fails because root can't write to nvidia-docker/tools/. Specifically:

$ cd ~/src
$ git clone https://github.com/NVIDIA/nvidia-docker
$ cd nvidia-docker/
$ sudo make install
...
Successfully built 3ce152a99c3e
mkdir: cannot create directory ‘<home>/src/nvidia-docker/tools/bin’: Permission denied
make[1]: *** [build] Error 1
make[1]: Leaving directory `<home>/src/nvidia-docker/tools'
make: *** [install] Error 2

I was able to fix this by granting write permissions to all users for nvidia-docker/, recursively. The original permissions on the folder were rwxr-xr-x <myself> <myprimarygroup>.

Should I do something different to make this work out of the box?

@flx42
Copy link
Member

flx42 commented Feb 12, 2016

No, out of the box it works fine for multiple people on Ubuntu 14.04. So I'm quite puzzled by your issue since the latest command is ran as root.

Do you have funky umask or groups settings maybe?

@flx42
Copy link
Member

flx42 commented Feb 19, 2016

Hey, were you able to figure out if there is anything unusual with your system setup?

@3XX0 3XX0 added the duplicate label Mar 1, 2016
@3XX0
Copy link
Member

3XX0 commented Mar 1, 2016

Closing the issue for now, I will reopen it if we manage to reproduce it.

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

No branches or pull requests

3 participants