Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl 5.5.62 fails lib/glob-basic test 6 when running as root #732

Closed
p5pRT opened this issue Oct 18, 1999 · 2 comments
Closed

Perl 5.5.62 fails lib/glob-basic test 6 when running as root #732

p5pRT opened this issue Oct 18, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 18, 1999

Migrated from rt.perl.org#1644 (status was 'resolved')

Searchable as RT1644$

@p5pRT
Copy link
Author

p5pRT commented Oct 18, 1999

From @mjdominus

When I run the tests as root​:

  lib/glob-basic......FAILED at test 6

 
When I run them as mjd, all the glob-basic tests pass.

That appears to be because test 6 is trying to make sure that `glob'
returns an empty list for an unreadable directory. But for root, even
a directory with mode 0 is still readable.

Perl Info


Site configuration information for perl 5.00562:

Configured by mjd at Mon Oct 18 13:43:02 EDT 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 62) configuration:
  Platform:
    osname=linux, osvers=2.0.35, archname=i586-linux
    uname='linux plover 2.0.35 #2 mon oct 26 21:26:00 cst 1998 i586 unknown '
    config_args='-des'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='cc', optimize='-g', gccversion=egcs-2.90.29 980515 (egcs-1.0.3 release)
    cppflags='-DDEBUGGING -Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-DDEBUGGING -Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /shlib /lib /usr/lib
    libs=-lndbm -lgdbm -ldbm -ldb -ldl -lm -lc
    libc=/lib/libc-2.0.7.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00562:
    lib
    /usr/local/lib/perl5/5.00562/i586-linux
    /usr/local/lib/perl5/5.00562
    /usr/local/lib/site_perl/5.00562/i586-linux
    /usr/local/lib/site_perl
    .


Environment for perl 5.00562:
    HOME=/home/mjd
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib
    LOGDIR (unset)
    PATH=/home/mjd/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11/bin:/usr/games:/sbin:/usr/sbin:/usr/local/bin/X11:/usr/local/bin/mh:/data/mysql/bin:/home/mjd/TPI/bin:/usr/local/mysql/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Oct 18, 1999

From [Unknown Contact. See original ticket]

Aren't you supposed *not* to be root while building & testing perl :-)

Francois Desarmenien

mjd@​plover.com wrote​:

This is a bug report for perl from mjd@​plover.com,
generated with the help of perlbug 1.27 running under perl 5.00562.

-----------------------------------------------------------------
[Please enter your report here]

When I run the tests as root​:

    lib/glob\-basic\.\.\.\.\.\.FAILED at test 6

When I run them as mjd, all the glob-basic tests pass.

That appears to be because test 6 is trying to make sure that `glob'
returns an empty list for an unreadable directory. But for root, even
a directory with mode 0 is still readable.

[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl 5.00562​:

Configured by mjd at Mon Oct 18 13​:43​:02 EDT 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 62) configuration​:
Platform​:
osname=linux, osvers=2.0.35, archname=i586-linux
uname='linux plover 2.0.35 #2 mon oct 26 21​:26​:00 cst 1998 i586 unknown '
config_args='-des'
hint=previous, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
use64bits=undef usemultiplicity=undef
Compiler​:
cc='cc', optimize='-g', gccversion=egcs-2.90.29 980515 (egcs-1.0.3 release)
cppflags='-DDEBUGGING -Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-DDEBUGGING -Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries​:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /shlib /lib /usr/lib
libs=-lndbm -lgdbm -ldbm -ldb -ldl -lm -lc
libc=/lib/libc-2.0.7.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking​:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches​:

---
@​INC for perl 5.00562​:
lib
/usr/local/lib/perl5/5.00562/i586-linux
/usr/local/lib/perl5/5.00562
/usr/local/lib/site_perl/5.00562/i586-linux
/usr/local/lib/site_perl
.

---
Environment for perl 5.00562​:
HOME=/home/mjd
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH=/lib​:/usr/lib​:/usr/X11R6/lib
LOGDIR (unset)
PATH=/home/mjd/bin​:/usr/local/bin​:/bin​:/usr/bin​:/usr/X11/bin​:/usr/games​:/sbin​:/usr/sbin​:/usr/local/bin/X11​:/usr/local/bin/mh​:/data/mysql/bin​:/home/mjd/TPI/bin​:/usr/local/mysql/bin
PERL_BADLANG (unset)
SHELL=/bin/bash

Message from the perl bug squashing team at 'perlbug@​perl.org'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant