xfs
[Top] [All Lists]

Re: xfsrestore forgets to set owner/perm on .

To: "Bernhard R. Erdmann" <be@xxxxxxxxxxx>
Subject: Re: xfsrestore forgets to set owner/perm on .
From: ivanr@xxxxxxx
Date: Mon, 10 Dec 2001 10:37:52 +1100
Cc: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3C136E64.F8D54E83@berdmann.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Sun, 9 Dec 2001, Bernhard R. Erdmann wrote:

> When transferring a filesystem with "xfsdump -J /bla | xfsrestore - .",
> xfsrestore does not set owner nor permissions of /bla on .

xfsrestore does not create its destination directory, it simply restores
the dump to the directory specified.  I don't think it is up to xfsrestore
to change the ownership or permissions of the owning directory -- it can't
assume what other uses that directory might have.

Eg. "xfsdump - /filesystem | xfsrestore - /tmp"

Ivan

-- 
Ivan Rayner
ivanr@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>