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

Seco::Multipkg::CPAN doesn't properly handle incorrect permissions on the .cpan directory #9

Open
cuzelac opened this issue Nov 12, 2011 · 0 comments
Labels

Comments

@cuzelac
Copy link
Member

cuzelac commented Nov 12, 2011

If permissions on your ~/.cpan directory are incorrect, Seco::Multipkg::CPAN holds with no errors to STDOUT/STDERR.

I had to strace to figure out what was going on:

write(1, "WARNING: CPAN.pm is unable to write a configuration file. You\nmust be able to create and write to '/home/vagrant/.cpan/CPAN/MyConfig.pm'.\n\nAborting configuration.\n", 164) = 164

/home/vagrant/.cpan/CPAN/MyConfig.pm was owned by root and multipkg was running as user 'vagrant'

We should either use a temp .cpan directory or do proper perms checking on the default.

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