-
Notifications
You must be signed in to change notification settings - Fork 114
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
Spack not really usable by non-root users #539
Comments
Hi Federico, Historically, we have been running spack as root, but we understand that may not be the best / recommended way. |
There are two different issues here.
This should allow any user to use installed spack packages In the near term we can add functionality to the
|
With #586, the docs have been updated and the near term solution for "Spack not in path" has been implemented on develop. We will leave this issue open until the update has made it into a formal release. |
Related to this issue, I have observed some time delays between when I deactivate one environment and when I am able to activate the next. They generate filesystem errors for approx. 15 seconds until suddenly I am able to.
|
Very likely related to my comment and probably to the original issue raised: Perhaps in particular: |
If you follow the issue above, it appears to have been resolved on the Spack development branch for inclusion in a tagged release. I have asked whether that will be the next patch release of v0.18 or a not-yet-planned v0.19. |
The team discussed this issue and we believe that the issue I mention in #539 (comment) is probably unrelated. We feel that this issue has been resolved in release v1.7.0 through the following changes:
The primary use of this runner is to enable non-root users to use Spack on a shared filesystem. However, this enables the execution of spack commands by root if you invoke |
Describe the bug
In a freshly built environment, when I try to install new software through Spack, I need to run it with sudo (just like any other package manager) otherwise the I get some basic filesystem permission issues
I guess, then the question is: is Spack supposed to be consumed by regular end-users?
sudo -E
) and then try to add it to the path while sudoing without forcing users to use full pathsPlease note that from
sudo -E
, spack is missing from the PATH due to the sudo enforcing the defaultsecure_path
WDYT?
The text was updated successfully, but these errors were encountered: