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
Use of local module attempts to create a+rwx (777) system directory #4802
Comments
From @ShimmerFairy$ perl6 -Ilib -MGrammar -e 'say 42' Another example of this failure is by trying to run panda's ./bootstrap.pl . Apparently the recent CURLI merge has caused this to occur (I would imagine). I install MoarVM, NQP, and Rakudo to /usr/local for the record, just like I do with every program I compile myself. I don't know what would happen if I ran 'sudo perl6' or created the directory manually, but I'm certainly not creating a 777 directory in /usr/ (I don't think anything in my /usr/ has 777 permissions, aside from symlinks), and besides if rakudo really needs this directory, it should've created this when I typed 'sudo make install'. In other words, rakudo should be using my ~/.perl6 directory outside of "sudo" (as it has before the merge), or create the requested directory during the install target of make, without 777 permissions (since that can't be necessary, or good). Basically, I'd like to be able to run panda's bootstrap as a normal user and have everything module-wise be in ~/.perl6/version/ like it's always been :) . |
From @ShimmerFairyOn the directory permissions, it seems that my system at least will respect my umask upon using mkdir in perl6, e.g. perl6 -e 'mkdir("foo", 0o777)' will create a directory "foo" with permissions 0o755 (if a umask of 0o022). Since that appears to be what should happen with mkdir, I think it's merely an LTA error message that doesn't account for my umask, and thus suggests the new directory will have more permissions than it actually will. (In other words, I think the error message should do $perm +& +^ $umask so I know what Perl 6 is actually trying to put on my system.) |
From @ShimmerFairyHas been fixed |
@ShimmerFairy - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#126765 (status was 'resolved')
Searchable as RT126765$
The text was updated successfully, but these errors were encountered: