On Mon Jun 18 13:44:20 2012, nwtour@mail.ru wrote:
Show quoted text> not ok 96 - created a directory not owned by nobodz:nogrouq...
> # Failed test 'created a directory not owned by nobodz:nogrouq...'
> # at t/Path.t line 501.
> # STDERR:
> # unable to map nobodz to a uid, ownership not changed: at t/Path.t
> line 499.
> # unable to map nogrouq to a gid, group ownership not changed: at
> t/Path.t line 499.
> #
> # doesn't match:
> # (?^:\Aunable to map nobodz to a uid, ownership not changed: .* at
> \S+ line \d+
> # unable to map nogrouq to a gid, group ownership not changed: .* at
> \S+ line \d+\b)
> # as expected
>
> perl -V:
> Summary of my perl5 (revision 5 version 16 subversion 0)
> configuration:
>
> Platform:
> osname=linux, osvers=2.6.32-4-686-bigmem, archname=i686-linux-
> thread-multi
>
> Patch for fix attached (dot symbol in regex)
>
> Thanks!
I could not reproduce this error. Using blead with the attendant File::Path version 2.09 and running as root in the directory where I customarily build and test blead, I got (excerpt):
#####
ok 87 - create a ZZ directory
ok 88 - blow it away via @ARGV
ok 89 - created a directory owned by nobody...
ok 90 - ... owned by 65534
ok 91 - created a directory owned by group nogroup...
ok 92 - ... owned by group 65534
ok 93 - created a directory owned by nobody:nogroup...
ok 94 - ... owned by 65534
ok 95 - ... owned by group 65534
#####
Summary of my perl5 (revision 5 version 21 subversion 11) configuration:
Commit id: 792e46564870a460524a90be0cffedd5dcc9e032
Platform:
osname=linux, osvers=3.13.0-49-generic, archname=x86_64-linux
uname='linux zareason 3.13.0-49-generic #83-ubuntu smp fri apr 10 20:11:33 utc 2015 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Dusedevel'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Apr 15 2015 18:11:02
%ENV:
PERL5LIB="/home/jkeenan/perl5/lib/perl5"
PERLBREW_BASHRC_VERSION="0.67"
PERLBREW_HOME="/home/jkeenan/.perlbrew"
PERLBREW_MANPATH="/home/jkeenan/perl5/perlbrew/perls/perl-5.20.1/man"
PERLBREW_PATH="/home/jkeenan/perl5/perlbrew/bin:/home/jkeenan/perl5/perlbrew/perls/perl-5.20.1/bin"
PERLBREW_PERL="perl-5.20.1"
PERLBREW_ROOT="/home/jkeenan/perl5/perlbrew"
PERLBREW_VERSION="0.67"
PERL_LOCAL_LIB_ROOT="/home/jkeenan/perl5"
PERL_MB_OPT="--install_base "/home/jkeenan/perl5""
PERL_MM_OPT="INSTALL_BASE=/home/jkeenan/perl5"
PERL_WORKDIR="gitwork/perl"
@INC:
lib
/home/jkeenan/perl5/lib/perl5/x86_64-linux
/home/jkeenan/perl5/lib/perl5
/usr/local/lib/perl5/site_perl/5.21.11/x86_64-linux
/usr/local/lib/perl5/site_perl/5.21.11
/usr/local/lib/perl5/5.21.11/x86_64-linux
/usr/local/lib/perl5/5.21.11
.