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

Re: Numbers Ownership after tarring



On Fri, Apr 15, 2005 at 12:20:18PM +0900, Mark Sargent wrote:
> ok, as a test.
> [root 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 mattdm org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>


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