Numbers Ownership after tarring

Matthew Miller mattdm at mattdm.org
Fri Apr 15 03:28:00 UTC 2005


On Fri, Apr 15, 2005 at 12:20:18PM +0900, Mark Sargent wrote:
> ok, as a test.
> [root at localhost snort]# tar --directory=/ --owner=root -xzvf 

The --owner option is for *created* files -- you're extracting.

To extract, try "--no-same-owner". But also, don't get in the habit of
extracting tarballs as root unless keeping ownership and permissions is
exactly what you intend to do.

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>




More information about the fedora-list mailing list