Req #78286 [Opn->Fbk]: Feature request: allow files in open_basedir
| From: | cmb@php.net | Date: | Fri, 02 Aug 2019 15:27:29 +0000 |
| Subject: | Req #78286 [Opn->Fbk]: Feature request: allow files in open_basedir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222069@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78286&edit=1
ID: 78286
Updated by: cmb@php.net
Reported by: video dot ice dot power at seznam dot cz
Summary: Feature request: allow files in open_basedir
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: Safe Mode/open_basedir
Operating System: Any
PHP Version: 7.3.7
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Hmm, this feature request doesn't make sense to me. What am I
missing?
Previous Comments:
------------------------------------------------------------------------
[2019-07-13 20:20:54] video dot ice dot power at seznam dot cz
Description:
------------
Consider the following file tree examples:
./user
./user/ssh.key
./user/ssh.pub
./src/config.ini
or
./backups/
./backups/jan-2018.zip
./backups/feb-2018.zip
In both but not least cases will be very hand if the open_basedir can be set to a specific file
instead of owning directory. I.e. instead of './user' specify './src/config.ini'
or for the 2nd example './backups/jul-2018.zip' to allow php to write a specific file (or
folder) to a specific location.
Test script:
---------------
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78286&edit=1