I am not completely confident that the bug is indeed fixed.

The original problem is gone, but I think I see a similar issue in the
updated package. On my Hardy server, paths *without* a trailing slash
now seem to be blocked unexpectedly.

[Fri Jan 14 15:48:37 2011] [error] [client 193.205.80.47] PHP Warning:
Unknown: open_basedir restriction in effect.
File(/var/www/phpmyadmin/index.php) is not within the allowed path(s):
(/var/www/:/usr/share/php:/var/lib/php:/var/lib/docman_docs/:/var/lib/moodledata/:/tmp/)
in Unknown on line 0

On this box, /var/www/phpmyadmin is a symlink to /usr/share/phpmyadmin,
which should be allowed per entry number 2 in open_basedir
(/usr/share/php). I quote http://php.net/manual/en/ini.core.php: "All
symbolic links are resolved" and "The restriction specified with
open_basedir is actually a prefix, not a directory name". As a side
note, it had always worked perfectly so far.

Can somebody else please test this case?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/701765

Title:
  open_basedir breaks by restricting paths to files that should be
  allowed; Unknown: Failed opening required
  '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on
  line 0

-- 
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