Why do I get an "Operation not permitted" error when running duplicity as sudo?
Solution 1:
I receive this error because duplicity cannot chown the restored home folder /media/liamzebedee/X/home
to its original owner root. When restoring to /
this works.
Solution 2:
whats the filesystem of your usb drive?
the error occures generally when resetting the permissons/ownership of the restored file fails. this can have many reasons. e.g.
- target filesystem does not support these
- you are not root, only root can set ownership
.. ede