Permissions not restored correctly using rsync
I recently had a serious problem where I needed to reinstall the software. Fortunately all of my files were backed up using BiT. However, there is no real guide for how to do restoration, especially before I've setup BiT again.
The obvious thing to try was to drill down into the BiT disk and find the entry with the latest date/time stamp, then to do
sudo rsync -ahv home/ /home
(Actually my situation was somewhat more complex as I was trying to to restore my preferences, so I wanted to avoid restoring the .xxx files).
The problem is that the permissions are wrong, even with the -a option to rsync. In particular, all of my files were write protected, which caused no end of problems.
Is there some other mechanism that BiT uses to save permissions? If so, how do I restore permissions?
If I need to do it through the configuration, is there an easy way to restore the configuration from the backup disk?
Thanks,
--Russell Almond
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Russell Almond for more information if necessary.