Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.93k stars 552 forks source link

File::Path 1.07 - File::Path::rmtree cannot remove directory #8286

Closed p5pRT closed 18 years ago

p5pRT commented 18 years ago

Migrated from rt.perl.org#38278 (status was 'rejected')

Searchable as RT38278$

p5pRT commented 18 years ago

From lee.goddard@easa.eu.int

Since File​::Path is a core module\, rt.cpan.org doesn't cover it\, and suggests using perlbug.

  File​::Path​::rmtree has started generated the strange error​:

Can't remove directory /var/www/docs/perl/EASA​: Directory not empty at perldocs.pl line 55

This happens not just in my scripts\, but when running perl -MCPAN -e shell.

I have not explicitly updated File​::Path\, but it is up-to-date\, and so I presume that a recent install of the Bundle​::CPAN did it\, or via some other module's dependency list.

This is\, sadly\, RedHat.

Lee Goddard Consultant Internet Application Analysis/Development European Aviation Safety Agency Administrative Directorate

E​: Lee.Goddard@​EASA.EU.int T​: +49 221 89990 3221 F​: +49 221 89990 3721 W​: www.easa.eu.int :​: Ottoplat 1\, D-50679 Köln\, Germany

Perl Info ``` Flags: category=library severity=critical Site configuration information for perl v5.8.7: Configured by root at Fri Sep 16 10:58:20 CEST 2005. Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.4.21-32.0.1.el, archname=i686-linux uname='linux dave11 2.4.21-32.0.1.el #1 tue may 17 18:01:37 edt 2005 i686 i686 i386 gnulinux ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3 2.96-122)', gccosandvers='linux7' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/local/lib/perl5/5.8.7/CORE' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: @INC for perl v5.8.7: /usr/local/lib/perl5/site_perl/5.8.7/ /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl . Environment for perl v5.8.7: HOME=/root LANG=en_GB.UTF-8 LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.7/ PERL_BADLANG (unset) SHELL=/bin/bash ```
p5pRT commented 18 years ago

From lee.goddard@easa.eu.int

PLEASE DELETE THIS TICKET

It seens some "person" here had modifeid the library.

Lee Goddard Internet Application Analysis/Development European Aviation Safety Agency

-----Original Message----- From​: perlbug-followup@​perl.org [mailto​:perlbug-followup@​perl.org] Sent​: 19 January 2006 10​:34 To​: Goddard Lee Subject​: [perl #38278] perlbug AutoReply​: File​::Path 1.07 - File​::Path​::rmtree cannot remove directory

Greetings\,

This message has been automatically generated in response to the creation of a perl bug report regarding​: "File​::Path 1.07 - File​::Path​::rmtree cannot remove directory".

There is no need to reply to this message right now. Your ticket has been assigned an ID of [perl #38278]. Within the next 24-72 hours\, your message will be posted to the perl developers. Please be patient!

Please include the string​:

[perl #38278]

in the subject line of all future correspondence about this issue. To do so\, you may reply to this message (please delete unnecessary quotes and text.)

Thank you\, perlbug-followup@​perl.org

-------------------------------------------------------------- ----------- MIME-Version​: 1.0 X-Spam-Status​: No\, hits=-6.4 required=8.0 tests=BAYES_00\,DNS_FROM_RFC_ABUSE\,PERLBUG_CONF Content-Class​: urn​:content-classes​:message Received-SPF​: neutral (x1.develooper.com​: local policy) Received-SPF​: pass (x1.develooper.com​: local policy) X-Old-Spam-Check-BY​: la.mx.develooper.com Message-ID​: \5E47282BEBB9CE4D9D2FF205A1E0BB88018467DD@​bleriot\.easa\.local content-type​: text/plain; charset="utf-8" X-MS-Tnef-Correlator​: Received​: (qmail 29139 invoked from network); 19 Jan 2006 09​:33​:50 -0000 Received​: from localhost (HELO la.mx.develooper.com) (127.0.0.1) by localhost with SMTP; 19 Jan 2006 09​:33​:50 -0000 Received​: (qmail 29136 invoked by alias); 19 Jan 2006 09​:33​:50 -0000 Received​: from la.mx.develooper.com (HELO x1.develooper.com) (63.251.223.176) by la.mx.develooper.com (qpsmtpd/0.28) with SMTP; Thu\, 19 Jan 2006 01​:33​:46 -0800 Received​: (qmail 29099 invoked by uid 225); 19 Jan 2006 09​:33​:42 -0000 Received​: (qmail 29092 invoked by alias); 19 Jan 2006 09​:33​:42 -0000 Received​: from Unknown (HELO bleriot.easa.local) (62.156.141.114) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu\, 19 Jan 2006 01​:33​:34 -0800 Delivered-To​: rt-perl5@​netlabs.develooper.com Delivered-To​: perlbug@​perl.org Subject​: File​::Path 1.07 - File​::Path​::rmtree cannot remove directory Return-Path​: \lee\.goddard@​easa\.eu\.int X-Spam-Check-BY​: la.mx.develooper.com Thread-Index​: AcYc27cn0zGKJvTVTpWIowSAZJ7aLg== X-Old-Spam-Status​: No\, hits=-6.4 required=8.0 tests=BAYES_00\,DNS_FROM_RFC_ABUSE\,PERLBUG_CONF Date​: Thu\, 19 Jan 2006 10​:35​:16 +0100 X-MS-Has-Attach​: Thread-Topic​: File​::Path 1.07 - File​::Path​::rmtree cannot remove directory X-Mimeole​: Produced By Microsoft Exchange V6.5.6944.0 To​: \perlbug@​perl\.org Content-Transfer-Encoding​: quoted-printable From​: "Goddard Lee" \lee\.goddard@​easa\.eu\.int X-RT-Original-Encoding​: iso-8859-1 Content-Length​: 3558

p5pRT commented 18 years ago

@tux - Status changed from 'new' to 'rejected'