mirror of
https://github.com/restic/restic.git
synced 2026-06-01 14:49:44 +00:00
62cf574fd8
The SFTP backend created repository directories with pkg/sftp's Mkdir and MkdirAll, which take no mode argument, so the directories inherited the SFTP server's umask instead of the 0700 used for local repositories. Set the mode of each directory the backend creates.