mirror of
https://github.com/restic/restic.git
synced 2026-11-06 07:19:21 +00:00
Merge pull request #21817 from eyupcanakman/fix/sftp-dir-permissions
sftp: Use mode 0700 for repository directories
This commit is contained in:
3 files changed
+111
-13
No files matched your search
@@ -0,0 +1,10 @@
|
||||
Bugfix: Use mode 0700 for repository directories created over SFTP
|
||||
|
||||
When creating a repository over SFTP, restic created the repository directories
|
||||
with the SFTP server's default permissions, often 0755, rather than the 0700
|
||||
permissions it uses for local repositories.
|
||||
|
||||
Restic now creates these directories with 0700 permissions.
|
||||
|
||||
https://github.com/restic/restic/issues/4447
|
||||
https://github.com/restic/restic/pull/21817
|
||||
Reference in new issue
Block a user