commit
This commit is contained in:
parent
0e0cfddae2
commit
8a240afeb3
2 changed files with 4 additions and 4 deletions
4
main.go
4
main.go
|
@ -24,8 +24,8 @@ func checkBlockedWordsFilePerm(path string) {
|
|||
}
|
||||
|
||||
mode := info.Mode().Perm()
|
||||
if mode != 0o700 {
|
||||
log.Fatalf("Permission on %s must be 700, found %o", path, mode)
|
||||
if mode != 0o600 {
|
||||
log.Fatalf("Permission on %s must be 600, found %o", path, mode)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue