[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar and '-p' option



Lance Hoffmeyer wrote:
> When backing up directories do I need the -p
> option to save file attributes, ownership...
> or do I use -p during restore to do this, OR
> do I not need -p and it is done by default?
> 

I use -p on the extraction side and it works fine.

Also, from the man page:

-p, --same-permissions, --preserve-permissions
              extract all protection information

This seems to indicate that -p is uded on the extract side, not the create
side.

HTH
-- 
David Raeker-Jordan
mailto:rkrjrdn@epix.net
Harrisburg, PA, USA



Reply to: