preserve file ownership with the "zip" command?
Reading the man pages, I have been able to preserve the permissions but not the ownership.
anyone has an idea? or a suggestion for an alternative to "zip"? thx :) |
You may try gzip or bzip2.
|
tar has an extract option --same-owner, so that if you used tar with the compression program of your choice, you can keep the ownership the same.
when extracting tar zxvpf filename.tar.gz --same-owner edit: great. i didn't even realize that gzip and bzip2 kept ownership by default. |
All times are GMT -5. The time now is 05:41 PM. |