#2200: Perl 5.10.0
---------------------+------------------------------------------------------
 Reporter:  willimm  |        Owner:  [EMAIL PROTECTED]
     Type:  task     |       Status:  assigned                  
 Priority:  normal   |    Milestone:  6.4                       
Component:  Book     |      Version:  SVN                       
 Severity:  normal   |   Resolution:                            
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by [EMAIL PROTECTED]):

 Just for the record, I cannot reproduce the root hole
 described above. And I'm not quite sure why not. Seems
 the other distro's see it and there is a pending CVE for
 it. However, look:

 {{{
 [EMAIL PROTECTED]: ~/build/td > perl -V
 Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
   Platform:
     osname=linux, osvers=2.6.14.3, archname=i686-linux
     uname='linux rmlscsi 2.6.14.3 #1 preempt sat mar 25 07:47:39 cst 2006
 i686 pentium3 i386 gnulinux '
     config_args='-ds -e -Dprefix=/usr -Dman1dir=destdir/usr/share/man/man1
 -Dman3dir=destdir/usr/share/man/man3 -Dpager=/usr/bin/less -isR'
     hint=recommended, useposix=true, d_sigaction=define
     useithreads=undef, usemultiplicity=undef
     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
     use64bitint=undef, use64bitall=undef, uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-fno-strict-aliasing -pipe'
     ccversion='', gccversion='4.3.2', gccosandvers=''
     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=8
     alignbytes=4, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =''
     libpth=/lib /usr/lib
     libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
     libc=/lib/libc-2.8.so, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version='2.8'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
     cccdlflags='-fPIC', lddlflags='-shared -O2'

 Characteristics of this binary (from libperl):
   Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
                         USE_LARGE_FILES USE_PERLIO
   Built under linux
   Compiled at Sep 28 2008 07:23:22
   @INC:
     /usr/lib/perl5/5.10.0/i686-linux
     /usr/lib/perl5/5.10.0
     /usr/lib/perl5/site_perl/5.10.0/i686-linux
     /usr/lib/perl5/site_perl/5.10.0



 [EMAIL PROTECTED]: ~/build/td > touch foo
 [EMAIL PROTECTED]: ~/build/td > ln -s foo bar
 [EMAIL PROTECTED]: ~/build/td > ls -l
 total 0
 lrwxrwxrwx 1 rml install 3 Oct 10 12:08 bar -> foo
 -rw-r--r-- 1 rml install 0 Oct 10 12:08 foo


 [EMAIL PROTECTED]: ~/build/td > perl -e 'use File::Path rmtree; rmtree bar'
 [EMAIL PROTECTED]: ~/build/td > ls -l
 total 0
 -rw-r--r-- 1 rml install 0 Oct 10 12:08 foo
 }}}

 According to all the data in the links provided, "foo"
 should be 0777, but it isn't. Not sure what to think.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2200#comment:10>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to