Quote:
Originally posted by vending_machine
This should do it:
Code:
tar zcfp domains.tgz <paths>
snip from tar manual:
Code:
-p
--preserve-permissions Extract all protection information.
|
Therefore here is no reason to use this directive while making the archive. The parameter has to be used while extracting. Tar backups the permissions by default but if you do unpack (without the p option) the permissions are stripped according to your umask setting.