develooper Front page | perl.perl5.porters | Postings from June 2008

Re: perl 5.10.0 installation issues on CentOS 5

Thread Previous | Thread Next
Jochen Luig
June 3, 2008 10:08
Re: perl 5.10.0 installation issues on CentOS 5
Message ID:
Am Dienstag, den 03.06.2008, 00:17 +0200 schrieb Bram:
> Citeren Jochen Luig <>:
> > ?Someone suggested on IRC earlier today that the 'mkdir' and 'rmdir'
> > tests failed due to my running 'make test' as root which makes perfect
> > sense.
> For some value of 'perfect'...

Well, after I looked at the code again, let's just pretend I never wrote
that ;-)

> Can you run:
> as root:
> perl -wle 'mkdir("/tmp/blurfl",0777); mkdir ("/tmp/blurfl",0777) or die $!;'
> as a regular user:
> perl -wle 'mkdir("/tmp/blurfl2",0777); mkdir ("/tmp/blurfl2",0777) or die $!;'
> on CentOS and on Debian?

The output was the same for root as well as the regular user on both


$ /opt/perl/bin/perl -wle 'mkdir("/tmp/blurfl",0777); mkdir 
("/tmp/blurfl",0777) or die $!;'
17 at -e line 1.

Debian (Ubuntu):

$ perl -wle 'mkdir("/tmp/blurfl2",0777); mkdir ("/tmp/blurfl2",0777) or
die $!;'
File exists at -e line 1.

The 5.10.0 installation on Debian is at /usr/local/bin, so 'perl' is in
fact my 5.10.0, installation, not the one that came with the OS.



Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About