[Bug 701765] Re: 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

Andrea Azzini 701765 at bugs.launchpad.net
Fri Jan 14 15:53:32 UTC 2011


Uhm. The open_basedir has /var/lib/php which is a valid prefix for
/var/lib/phpmyadmin/, and it has always (for two years until wednesday
when this bug appeared) worked with this open_basedir string.

To further clarify:

[...]:/usr/share/phpmyadmin/:/var/lib/phpmyadmin/:[...] works
[...]:/usr/share/phpmyadmin:/var/lib/phpmyadmin:[...] works
[...]:/usr/share/php:/var/lib/php:[...] does not work

which seems to mean that it is now treating paths without a trailing
slash as directory names instead of prefixes, which is what the
specification says.

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



More information about the Ubuntu-server-bugs mailing list