mirror of
https://github.com/octoleo/restic.git
synced 2024-11-02 19:49:44 +00:00
restic-server: Fix folder permissions
This commit is contained in:
parent
e4168fdde5
commit
1cdbc8e1aa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user