mirror of
https://github.com/restic/restic.git
synced 2026-02-15 08:38:17 -05:00
If the repo is on a mounted folder that doesn't support chmod (like SMB), it was causing an "operation not supported" error when trying to chmod 666 a file before deleting it. But it isn't generally needed before deleting a file (the folder permissions matter there, not the file permissions). So, just drop it.
8 lines
417 B
Text
8 lines
417 B
Text
Bugfix: Fix "chmod not supported" errors when unlocking
|
|
|
|
Restic 0.18.0 introduced a bug that caused "chmod xxx: operation not supported"
|
|
errors to appear when unlocking with a stale lock, on a local file repository
|
|
that did not support chmod (like CIFS or WebDAV mounted via FUSE). Restic now
|
|
just doesn't bother calling chmod in that case on Unix, as it is unnecessary.
|
|
|
|
https://github.com/restic/restic/issues/5595
|