mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
Bugfix(sftp): fix loose permissions on sftp backend. (#5497)
This commit is contained in:
8
changelog/unreleased/issue-5487
Normal file
8
changelog/unreleased/issue-5487
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Mark files as readonly when using the SFTP backend
|
||||
|
||||
Files created by the SFTP backend previously allowed writes to those files.
|
||||
Restic now restricts the file permissions on SFTP backend to readonly.
|
||||
This change only has an effect for sftp servers with support for the chmod operation.
|
||||
|
||||
https://github.com/restic/restic/issues/5487
|
||||
https://github.com/restic/restic/pull/5497
|
||||
Reference in New Issue
Block a user