-
Notifications
You must be signed in to change notification settings - Fork 41
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
share/perl6/vendor/short creation as root - when installed via brew #192
Comments
Thanks for your bug report. I will not be able to help any soon. I have now Mac available... and also in the next couple of days, I've only a ARM based Windows10 box, so a "win32" emulation... and there is no (recent) win32 Raku version, and so also no win32 Star.... Anyhow, as Star nowadays is just "the similar Rakudo version + some additional modules", the problem must be somewhere else. From a quick search, I found:#
From what I would have understood from those discussions:
|
@rcmlz - Hi. Any opinion on the feedback above? Any chance to install Star new / from zero? |
Hello @AntonOks I encountered this error on a fresh Radudo-Star installation on a freshly installed Mac. For me it was not a problem to run Raku once with sudo/root to fix this. However, I thought that error might be an issue in general. Perhaps I am wrong. Just wanted to let you know about that error. |
Hmm, strange. Else, lacking of any better idea right now, I may have to "missuse" the GitHub osx runners for that kind of test :| |
I get the same error when running on github runners, so nothing to do with Star ... sorry for the confusion Failed to create directory '/usr/lib/perl6/site/short' with mode '0o777': Failed to mkdir: Permission denied |
as it's not a Star issue AND there is an open issue in Rakudo, I'm hereby closing this one |
Bug Description
brew install rakudo-star
) as admin user 'privuser'Reproduction path
However, running as privileged user (sudoers) works
and inspection of the folders show
that running as sudo user created a folder 'short'.
Conclusion
Apparently the folder /usr/local/Cellar/rakudo-star/2023.08/share/perl6/vendor/short is not created during setup but only on first run - which requires sudo rights. I assume this is not intended behaviour.
The text was updated successfully, but these errors were encountered: