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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: peterkokot at gmail dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC