I saw this thread but I don’t know if my problem is the same.
I’ve been using restic for a couple of months now and never had this problem. Since I upgraded to v0.9.3 this message appears to me twice in different hosts:
removing 2 old cache dirs from /home/usr/.cache/restic: permission denied (message can be different; I lost the original message). Then running restic with
sudo actually clean up the cache dir without problem. When running with
repository 75ed913a opened successfully, password is correct created new cache in /root/.cache/restic. It is strange because I don’t run any restic related task with the
root user; just this one. With versions 0.9.2 and earlier I never had this “problem”.
I have the restic binary in the home dir in server for system backup and the permissions for the binary are
root:usr. Laptop runs restic from
/usr/bin. Server is Debian Stretch and Laptop Ubuntu 18.04. Permissions in restic cache dirs for both hosts are set to their respective user.