php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75626 Mounting improvements
Submitted: 2017-12-04 21:17 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: peterkokot at gmail dot com Assigned:
Status: Open Package: PHAR related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-12-04 21:17 UTC] peterkokot at gmail dot com
Description:
------------
Hello, I'm adding few TODO items for the phar extension here from the old TODO file located in the php-src repository:
https://github.com/php/php-src/blob/PHP-7.2/ext/phar/TODO

* implement write support for mounted files even if phar.readonly=1
* implement automatic "mounting" of internal phar archives so that
  phar:///path/to/archive.phar/internal.phar/file opens internal.phar and
  maps its manifest inside archive.phar. The manifest entry inside
  archive.phar would be named "internal.phar/file". Write access to internal
  files inside an internal phar would be denied, as the entire archive must
  be added or removed at the same time.

Note that these suggestions, have been added ~10 years ago in the TODO and some might not be relevant anymore.

Thanks.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Jul 07 09:01:26 2020 UTC