-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
What is the purpose of sysconfdir
in rust installation?
#130270
Comments
Note that you can change these values. Look at the Installing machine-wide (rather than per user) is also a typical default for many projects when you do |
@ChrisDenton Thanks for the response. Then I assume these configuration files can be installed in any location as the user desires and will not alter the installation process. I already modified the install.prefix but it didn't change sysconfdir, so it struck me as an anomaly that I tried installing the package in the location where root/sudo privileges are not required but it still asked me for elevated privileges. I think, it should be mentioned in the documentation explicitly, that if you want to build and store the binaries in a user-specific location instead of the system default location, then |
Please PR any improvements to the documentation that you desire. |
I also ran into this issue. Since no PR has been made yet as recommended above, I made one. Please find the PR below: Thanks! |
Closing as PR is merged. |
I am trying to build rust master branch from source on RISC-V architecture. On, execution of
./x.py install
, I get the following error:The sysconfdir is set to
/etc
and why does it require the write access? This kills the whole purpose of building from source (i.e. building in specific user space)The text was updated successfully, but these errors were encountered: