[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Permission issue after system restore
On Tue, 9 Nov 2010 08:20:14 +0100
Jens Rehsack <rehsack%googlemail.com@localhost> wrote:
> after restoring my system after file system crash I have one issue remaining
> which I can't (lack of knowledge) fix on my own:
How did you backup and restore the files? If using pax, tar or rsync
there are options to preserve file modes/permission bits, ownership etc.
For instance, tar when creating an archive will store that information
by default, but at extraction the -p flag must be supplied to apply
archive-stored permissions to the extracted files.
You also have to make sure that your group and user IDs correspond to
those on the old system (/etc/group and vipw to edit /etc/*passwd*).
The mtree files are indeed also supposed to hold the default file
permissions, and I think that it can run through files and restore
permissions, however I have no experience with it personally.
Main Index |
Thread Index |