Comment 8 for bug 930151

Revision history for this message
Barni (butterfly-barni) wrote :

Thanks for the fix. The issue is solved with your latest change.

I looked at your commit and noticed a chown just above your changes. This seems to have the same issue. When you run the restore as root, duplicity will change the owner of the symlink's target too if they didn't match.

To reproduce add `chown -h www-data:www-data foo` to your script at line 12 and run the script as root. Replace www-data with a valid user on your system.