2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 19:38:57 +00:00

restic-server: Fix folder permissions

This commit is contained in:
Fabian Wickborn 2016-02-22 17:30:49 +01:00
parent e4168fdde5
commit 1cdbc8e1aa

View File

@ -30,7 +30,7 @@ func main() {
"keys",
}
for _, d := range dirs {
os.MkdirAll(filepath.Join(*path, d), 0600)
os.MkdirAll(filepath.Join(*path, d), 0700)
}
// Define the routes