pombreda / peazip

Automatically exported from code.google.com/p/peazip
0 stars 0 forks source link

[Linux] Extracting from p7zip backend does not set file permissions #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The problem is known to p7zip's team, i.e. 
http://sourceforge.net/tracker/index.php?func=detail&aid=1065668&group_id=111810
&atid=660496

p7zip is a port of 7z, which is a Windows based archiving utility, and the tar 
implementation on 7z (and consequently p7zip) does not currently support 
restoring Unix files permissions (resets them to tar's standard defaults).

The workaround suggested from p7zip's author is to use p7zip up to 
decompression, and perform the final untar step with the tar implementation 
which is featured by default in Linux distributions.

I'll let this bug report open hoping to improve support for restoring Unix's 
file permission in future.

Original issue reported on code.google.com by giorgio.tani.software@gmail.com on 19 Nov 2010 at 12:48

GoogleCodeExporter commented 9 years ago
This would indeed very useful, especially when downloading applications -- now 
they "mysteriously" stop working (if you don't know about this issue).

Original comment by knuck...@gmail.com on 29 Jun 2011 at 1:34

GoogleCodeExporter commented 9 years ago
It is a known limitation of 7z ports on *x systems, I'll keep checked p7zip 
project for updates fixing this issue.
Another options would be replacing 7z/p7zip tar implementation with calls to 
GNU-tar that is featured by default in *x systems, but of course that will 
introduce os-dependent code as that part would be different from the codebase 
for Windows, and another complexity step would be to detect the tar version in 
use to avoid possible syntax incompatibilities between very different versions.

Original comment by giorgio.tani.software@gmail.com on 29 Jun 2011 at 2:19

GoogleCodeExporter commented 9 years ago
I understand.

I hope this can be improved in the future, so that for example peazip may start 
replacing some of the default linux gui compression utilities (such as ark), as 
it is much more useful and featureful than those apps.

Original comment by knuck...@gmail.com on 29 Jun 2011 at 2:54

GoogleCodeExporter commented 9 years ago
Sure, this is a very limiting issue for linux users, hope it can be solved soon 
:-(

Original comment by noela...@gmail.com on 17 Mar 2013 at 5:20