On 3/22/07, Andreas Koenig via RT <[EMAIL PROTECTED]> wrote:
Thu Mar 22 00:20:27 2007: Request 25627 was acted upon. Transaction: Ticket created by ANDK Queue: ExtUtils-Install Subject: Bogus failure "Do not have write permissions on '/etc'" Broken in: 1.39_01, 1.40, 1.41, 1.41_01, 1.41_02, 1.41_03 Severity: (no value) Owner: Nobody Requestors: [EMAIL PROTECTED] Status: new Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=25627 > PARDUS/Zoidberg-0.96.tar.gz uncovers the following bug in ExtUtils::Install introduced in 1.39_01: % ./Build install [...] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/etc' Do not have write permissions on '/etc' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ExtUtils::Install should not try to create existing directories and should not examine if I would be able to create it.
Well, it only does that if it is told to install a directory. But it does have to do this type of logic for a fake install.
It's there and this is what counts.
I agree in principle. I /think/ that this is actually a problem with Zoidberg and or Module::Build, (not sure which).
Zoidberg would only install an /etc/zoidrc which I would be allowed to overwrite because the file belongs to me. So it does not count that I can neither write to / nor to /etc/ in general. All that should count is that I can overwrite /etc/zoidrc. I have verified this bug exists up to 1.41_03
I cant say absolutely for sure, but im not sure if this really is an EU:I bug. Specifically, it would appear that Module::Build is including the directory /etc in its install list, and not just the file /etc/zoidrc. Its hard to say really what should be done about this. /etc/ is a special case that the install code hasnt been desgined to deal with. In short it assumes that if its installing a directory that the directory must be writable. Changing this would not be straightforward and im reluctant to do it because of this package alone. Im inlinced to think that MB / zoidberg should be passing in the exact file from the /etc/ directory and not trying to use the directory copy process. Anyway, further thoughts appreciated, and ive cc'ed the Module::Build folks to see what they think. Cheers, Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"