Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 15261

Summary: PEAR packages installed with write access to all
Product: Gentoo Linux Reporter: Tero Pelander <tpeland>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED WORKSFORME    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tero Pelander 2003-02-07 01:55:10 UTC
Most of the dev-php/PEAR-* packages are installed into /usr/lib/php with
-rw-rw-rw- protection to the files.

Some of the packages that have this problem:
PEAR-Cache
PEAR-Mail
(lots of others too!)


Reproducible: Always
Steps to Reproduce:
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-02-07 23:11:42 UTC
I can't reproduce this. If just merged PEAR-Cache, PEAR-Mail_Mime and PEAR-Log and all the files look good.

mcvaio /usr/lib/php % find . -perm +o+w
mcvaio /usr/lib/php % 

Which version of portage are you using? Have you tried unmerging them and merging them again?
Comment 2 Tero Pelander 2003-02-08 15:30:22 UTC
The original problem seems to be from dev-php/mod_php-4.3.0-r2.
When reporting I was installing both that and multiple PEAR packages and though that the later ones were the cause.
I retested this in a new computer that hadn't any php stuff earlier. When installing mod_php (with USE=apache2) files with write access to all in /usr/lib/php appeared. Before that the directory didn't exist.
Comment 3 SpanKY gentoo-dev 2003-03-03 04:32:35 UTC
well, whatever bug used to exist doesnt anymore, so i think we're all set here ;)