Debian Bug report logs -
#515782
move_uploaded_file() warnings
Reported by: jakub nantl <jakub.nantl@ha-vel.cz>
Date: Tue, 17 Feb 2009 16:39:04 UTC
Severity: normal
Found in version php5/5.2.0-8+etch13
Fixed in version 5.3.3-7
Done: Ondřej Surý <ondrej@sury.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#515782; Package libapache2-mod-php5.
(Tue, 17 Feb 2009 16:39:07 GMT) (full text, mbox, link).
Acknowledgement sent
to jakub nantl <jakub.nantl@ha-vel.cz>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Tue, 17 Feb 2009 16:39:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libapache2-mod-php5
Version: 5.2.0-8+etch13
move_uploaded_file() prints warning about open_basedir restriction. It prints
only the warning, uploaded file is successfully moved. according to
documentation open_basedir check is applied only for destination not the
source file..
output of example code from:
http://cz.php.net/manual/en/features.file-upload.post-method.php
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir
restriction in effect. File(/var/tmp/php/phpr9Tg2e) is not within the allowed
path(s): (/home/www) in /home/www/u.php on line 11
File is valid, and was successfully uploaded.
both safe_mode and open_basedir are set. upload_tmp_dir is outside
open_basedir
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#515782; Package libapache2-mod-php5.
(Fri, 08 Jan 2010 16:45:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Fri, 08 Jan 2010 16:45:06 GMT) (full text, mbox, link).
Message #10 received at 515782@bugs.debian.org (full text, mbox, reply):
Could you please retest with current stable (lenny)?
--
Ondřej Surý <ondrej@sury.org>
http://blog.rfc1925.org/
Message sent on
to jakub nantl <jakub.nantl@ha-vel.cz>:
Bug#515782.
(Fri, 08 Jan 2010 16:45:17 GMT) (full text, mbox, link).
Information stored
:
Bug#515782; Package libapache2-mod-php5.
(Fri, 08 Jan 2010 17:57:03 GMT) (full text, mbox, link).
Acknowledgement sent
to jakub nantl <jakub.nantl@ha-vel.cz>:
Extra info received and filed, but not forwarded.
(Fri, 08 Jan 2010 17:57:04 GMT) (full text, mbox, link).
Message #18 received at 515782-quiet@bugs.debian.org (full text, mbox, reply):
still the same:
libapache2-mod-php5 5.2.6.dfsg.1-1+lenny4
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir
restriction in effect. File(/var/tmp/php/phpQ8j535) is not within the allowed
path(s): (/home/www) in /home/www/aa.php on line 18
File is valid, and was successfully uploaded.
....
Reply sent
to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility.
(Wed, 27 Apr 2011 07:42:04 GMT) (full text, mbox, link).
Notification sent
to jakub nantl <jakub.nantl@ha-vel.cz>:
Bug acknowledged by developer.
(Wed, 27 Apr 2011 07:42:04 GMT) (full text, mbox, link).
Message #23 received at 515782-done@bugs.debian.org (full text, mbox, reply):
Version: 5.3.3-7
Works fine in squeeze.
--
Ondřej Surý <ondrej@sury.org>
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 26 May 2011 07:40:49 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 01:11:06 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.