easybuilders / easybuild-easyblocks

Collection of easyblocks that implement support for building and installing software with EasyBuild.
https://easybuild.io
GNU General Public License v2.0
104 stars 284 forks source link

CUDA easyblock must protect usage of $HOME #1682

Open akesandgren opened 5 years ago

akesandgren commented 5 years ago

During installation of CUDA there are accesses to $HOME: sh: 1: cannot create /home/a/ake/.local/share/applications/nsight.desktop: Permission denied

sh: 1: cannot create /home/a/ake/.local/share/applications/nvvp.desktop: Permission denied

We need to handle this.

boegel commented 5 years ago

Agreed.

One thing we could try is to redefine $HOME while installing CUDA to the temporary directory available during each EasyBuild session?

akesandgren commented 5 years ago

Yeah, that was my idea. I just couldn't remember what to do so I left it out of https://github.com/easybuilders/easybuild-easyblocks/pull/1684