0

I have done a backup using rsync and restored the system as a test. All went well except that I cannot click on the partition listing in nautilus anymore. When I do it complains about "This location cannot be displayed. You do not have the permission necessary to view the contents". Opening nautilus as root gives no such problem. My backup command was:

sudo rsync -av --one-file-system --hard-links --human-readable --numeric-ids --progress /media/myext4usbkey/backup /dev/sda5myubuntupartition

What do I need to do next time so I don't run into this problem anymore?

To clarify, I'm not asking for a better backup tool or how rsync would compare with other tools, just how I can solve this problem using rsync.

koen
  • 119

1 Answers1

0

Partitions are visible to users in the group disk. If you were in that group before you should still be if you saved and restored files in /etc. You can see which groups you are in with the commandid. To add group disk to your user id do

sudo usermod -aG disk $USER

You will need to login to see the change.

meuh
  • 3,444