[php-maint] Bug#398893: open_basedir doesn't allow to go 'back' to
my basedir
Evgeni Golov
sargentd at die-welt.net
Thu Nov 16 11:38:11 CET 2006
Package: libapache2-mod-php5
Version: 5.1.6-5
I have an apache2 with php5 running (packages from Etch).
I use open_basedir /path/to/scripts/ in my configfile. When I try to do
an is_dir('/path/to/scripts/blah/..') I get an:
open_basedir restriction in effect. File (/path/to/scripts/blah/..) is
not within the allowed path (s): (/path/to/scripts/)
But '/path/to/scripts/blah/..' is '/path/to/scripts/' and it IS the
basedir.
When I change open_basedir to /path/to/scripts (without the / at the
end), the is_dir() works like it should.
Is this a correct behavior and I'm missing some important infrmation
about the work of open_basedir or is this a bug?
kind regards
Evgeni Golov
--
^^^ | Evgeni -SargentD- Golov (sargentd at die-welt.net)
d(O_o)b | PGP-Key-ID: 0xAC15B50C
>-|-< | WWW: http://www.die-welt.net ICQ: 54116744
/ \ | IRC: #sod @ irc.german-freakz.net
Wie man Menschen tötet, lernt man jeden Abend im Fernsehen, aber wie
man sie macht, DAS ist schlimm.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20061116/83349762/attachment.pgp
More information about the pkg-php-maint
mailing list