>> 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. What's the output of locale ? Can you also try: LC_ALL=C /opt/perl/bin/perl -wle 'mkdir("/tmp/blurfl",0777); mkdir ("/tmp/blurfl",0777) or die $!;'Thread Previous | Thread Next