I forgot to setup options using 'cp', so all permissions and ownership of made backup are default. I copied the next directories:
- /etc
- /bin
- /home
- /lib
- /opt
- /sbin
- /usr
- /var
I am using Fedora 13. So, how can I restore correctly previous directories to my current reinstalled system, what permissions and ownership should this directories and files to be? My default account is 'master'. Also I want to see copied program icons in Gnome menu but they are empty.
rpm -a --setperms --setugids
will handle the system directories. You're on your own for/home
and/srv
.Also,
rsync -a
.