ObjFW  View Ticket

2021-07-04
16:39 New ticket [b6496181dc] ofarc: Support extracting all types in TAR files. artifact: f17f3f7eee user: js

Ticket UUID: b6496181dc34a4fc4f3f14a5bf8321ff2e9c5f26
Title: ofarc: Support extracting all types in TAR files
Status: Open Type: Feature_Request
Severity: Important Priority: Medium
Subsystem: Resolution:
Last Modified: 2021-07-04 16:39:48
Version Found In: Milestone: none
User Comments:
js added on 2021-07-04 16:39:48:

Currently, ofarc refuses to extract anything that is not a file or a directory. This is currently for security reasons, as otherwise a tar file could create a symlink x -> /home/js and then contain a file x/.profile to override my /home/js/.profile file. Many archivers have this security hole (in fact, I reported this to Apple a few years back, as their tar was vulnerable), so special care has to be taken here to avoid this.