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, JochenThread Previous | Thread Next