xfs
[Top] [All Lists]

Re: xfsrestore forgets to set owner/perm on .

To: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
Subject: Re: xfsrestore forgets to set owner/perm on .
From: "Bernhard R. Erdmann" <be@xxxxxxxxxxx>
Date: Mon, 10 Dec 2001 19:40:26 +0100
References: <Pine.SGI.4.43.0112101034120.91630-100000@omen.melbourne.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
> 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"

xfsrestore should ask for or have an option for it. ext2-restore and
ufsrestore do ask.

It's very annoying to have to remember the owner and permissions of 20
mountpoints. Owner/perms of . (the root of the filesystem backed up) are
part of the backup and it should be able to restore them, too.


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