Overview
| Artifact ID: | 11770489cc055863fa772eb5cf596d2b64be1b1107e5b1bb83f79a09cbfb394e |
|---|---|
| Ticket: | d22637ba8ca9695ee22cbe431e63a20ac0b891ac
zipfs allows writing to files in the mounted zipfile but does not save to disk |
| User & Date: | apnadkarni on 2023-09-06 16:28:29 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
Existing files in a mounted zipfs system can be written to and correctly read back within the same process while the zip file is still mounted. However, the modified file is not actually written to disk so when the zipfs file is unmounted (or program exits) the changes are lost. Not sure if this is by design or not but it is very misleading and should be fixed. On the other hand creation of new files is not permitted as currently implemented. My suggestion is to make the zipfs file mounts read-only and not allow modification. The alternative, saving the new zip content to disk is not a feasible goal for the current release, imo. TIP 430 does not say anything on this topic of whether the file system is writable but being able to write to existing files but not new ones is neither here nor there.
- foundin changed to: "8.7"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
zipfs allows writing to files in the mounted zipfile but does not save to disk
- type changed to: "Bug"