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

Re: perl 5.10.0 installation issues on CentOS 5

Thread Previous | Thread Next
From:
Jochen Luig
Date:
June 3, 2008 10:08
Subject:
Re: perl 5.10.0 installation issues on CentOS 5
Message ID:
1212512890.6170.7.camel@machine
Am Dienstag, den 03.06.2008, 00:17 +0200 schrieb Bram:
> Citeren Jochen Luig <skirnir@gmx.net>:
> 
> > ?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
OS's.

CentOS:

$ /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.

Bye,

Jochen


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About