Output of restic version
restic 0.18.1-dev (compiled manually) compiled with go1.25.4 X:nodwarf5 on linux/amd64
What backend/service did you use to store the repository?
Local (but on a gvfs SMB mount)
Problem description / Steps to reproduce
This is a repeat of #5342 but in a different place - I wasn't as exhaustive in fixing that as I should have been.
If I run the following command with a stale lock, I'll get a stuck restic repeating "chmod: operation not supported" errors:
restic --repo=/run/user/1000/gvfs/xxx unlock
Expected behavior
It successfully unlocks
Actual behavior
It gets stuck trying to remove a lock, when calling chmod.
Do you have any idea what may have caused this?
Yeah, the Remove call in local.go has a chmod line, but does not gracefully allow for ErrUnsupported, like other chmod calls on unix in restic.
Did restic help you today? Did it make you happy in any way?
Yeah, it's great normally! Thanks.
Output of
restic versionrestic 0.18.1-dev (compiled manually) compiled with go1.25.4 X:nodwarf5 on linux/amd64
What backend/service did you use to store the repository?
Local (but on a gvfs SMB mount)
Problem description / Steps to reproduce
This is a repeat of #5342 but in a different place - I wasn't as exhaustive in fixing that as I should have been.
If I run the following command with a stale lock, I'll get a stuck restic repeating "chmod: operation not supported" errors:
Expected behavior
It successfully unlocks
Actual behavior
It gets stuck trying to remove a lock, when calling chmod.
Do you have any idea what may have caused this?
Yeah, the
Removecall inlocal.gohas a chmod line, but does not gracefully allow forErrUnsupported, like other chmod calls on unix in restic.Did restic help you today? Did it make you happy in any way?
Yeah, it's great normally! Thanks.