Skip to content
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

Arbitrary directory creation via "use lib" #4231

Closed
p6rt opened this issue May 8, 2015 · 5 comments
Closed

Arbitrary directory creation via "use lib" #4231

p6rt opened this issue May 8, 2015 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented May 8, 2015

Migrated from rt.perl.org#125141 (status was 'resolved')

Searchable as RT125141$

@p6rt
Copy link
Author

p6rt commented May 8, 2015

From @raydiak

From http://irclog.perlgeek.de/perl6/2015-05-08#i_10570083 :

15​:46 raydiak m​: say 'foobar'.IO.e
15​:46 camelia rakudo-moar 9c543b​: OUTPUT«False␤»
15​:47 raydiak m​: use lib "foobar"; use foo; say 'foobar'.IO.e
15​:47 camelia rakudo-moar 9c543b​: OUTPUT«===SORRY!===␤Could not find foo in any of​: file#foobar, file#/home/camelia/.perl6/​2015.04-181-g9c543b5/lib, inst#/home/camelia/.perl6/2015.04-181-g9c543b5, file#/home/camelia/rakudo-inst-1/share/perl6/lib, file#/home/camelia/rakudo-inst-1/share/perl6/ven…»
15​:47 raydiak m​: say 'foobar'.IO.e
15​:47 camelia rakudo-moar 9c543b​: OUTPUT«True␤»
15​:48 raydiak "use lib 'foo';" followed by "use Anything;" whether Anything exists or not, causes foo to be created.

@p6rt
Copy link
Author

p6rt commented May 9, 2015

From @lizmat

On 08 May 2015, at 17​:53, (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by
# Please include the string​: [perl #​125141]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=125141 >

From http://irclog.perlgeek.de/perl6/2015-05-08#i_10570083 :

15​:46 raydiak m​: say 'foobar'.IO.e
15​:46 camelia rakudo-moar 9c543b​: OUTPUT«False␤»
15​:47 raydiak m​: use lib "foobar"; use foo; say 'foobar'.IO.e
15​:47 camelia rakudo-moar 9c543b​: OUTPUT«===SORRY!===␤Could not find foo in any of​: file#foobar, file#/home/camelia/.perl6/​2015.04-181-g9c543b5/lib, inst#/home/camelia/.perl6/2015.04-181-g9c543b5, file#/home/camelia/rakudo-inst-1/share/perl6/lib, file#/home/camelia/rakudo-inst-1/share/perl6/ven…»
15​:47 raydiak m​: say 'foobar'.IO.e
15​:47 camelia rakudo-moar 9c543b​: OUTPUT«True␤»
15​:48 raydiak "use lib 'foo';" followed by "use Anything;" whether Anything exists or not, causes foo to be created.

This is actually caused by CURLI, and that was done as a temporary fix to keep panda working.

Since CURLI is currently not being by panda to install things, pending research into vague failures, probably caused by unhygienic testing of modules, one can wonder whether the “mkdir” in CURLI is still needed at the moment.

Liz

@p6rt
Copy link
Author

p6rt commented May 9, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented May 26, 2015

From @FROGGS

This is resolved by​: rakudo/rakudo@b9f993b86a

@p6rt p6rt closed this as completed May 26, 2015
@p6rt
Copy link
Author

p6rt commented May 26, 2015

@FROGGS - Status changed from 'open' to 'resolved'

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant