|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-07 17:39 UTC] edink@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 04:00:01 2025 UTC |
open_basedir directive does not allow operation within directories owned by another users. php.ini directives: safe_mode on open_basedir = /home/ilia/ /home/ilia/ is owned by ilia:ilia test.php ( owned by ilia:ilia, run as root ) <?php mkdir('safe_mode1', 0755); mkdir('safe_mode1/safe_mode2', 0755); ?> creation of safe_mode1 directory succeeds, however creation of 'safe_mode2' inside 'safe_mode1' fails with a safe_mode error about uids not matching. Shouldn't open_basedir directive allow creation of files/directories anywhere above /home/ilia/ ?