Adam, thanks very much for your insight on this,

Point taken, if we are not going to relax the permissions then having
multiple directories is pointless. After reading your comment and
thinking about it, I have to agree that the permissions should remain so
tight. My thinking was that web SAPI's could be loosened while the
others stayed tight.

I think the solution is actually to do nothing. While its unfortunate
that one in 1000 requests (not 100, new php.ini-production has a default
gc_divisor=1000) will fail an opendir, and produce an E_NOTICE. E_NOTICE
should only be turned on during development[1], so while this might be
annoying, it shouldn't break anything. Meanwhile users can opt to turn
it back off, and/or leave E_NOTICE suppressed.

Changing to Wont Fix, and lowering Importance to Low (since only users
who have enabled E_NOTICE and left gc turned on will see this)

--

[1] http://php.net/manual/en/errorfunc.configuration.php
"In PHP 4 and PHP 5 the default value is E_ALL & ~E_NOTICE. This setting does 
not show E_NOTICE level errors. You may want to show them during development."


** Changed in: php5 (Ubuntu)
       Status: Triaged => Won't Fix

** Changed in: php5 (Ubuntu)
   Importance: High => Low

-- 
session.gc_probablity=1 in /etc/php5/apache2/php.ini conflicts with permissions 
on /var/lib/php5
https://bugs.launchpad.net/bugs/619855
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to