mirror of
https://github.com/restic/restic.git
synced 2026-10-11 20:47:12 +00:00
restic-server: Fix folder permissions
This commit is contained in:
1 parent
e4168fdde5
commit
1cdbc8e1aa
1 file changed
+1
-1
@@ -30,7 +30,7 @@ func main() {
|
|||||||
"keys",
|
"keys",
|
||||||
}
|
}
|
||||||
for _, d := range dirs {
|
for _, d := range dirs {
|
||||||
os.MkdirAll(filepath.Join(*path, d), 0600)
|
os.MkdirAll(filepath.Join(*path, d), 0700)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Define the routes
|
// Define the routes
|
||||||
|
|||||||
Reference in new issue
Block a user