Make the folder permissions more permissive to avoid false positives (#175)

This commit is contained in:
cosmincojocar 2018-02-15 10:53:01 +01:00 committed by Grant Murphy
parent d48668e9e7
commit 1c58cbd378

View file

@ -75,7 +75,7 @@ func NewFilePerms(conf gas.Config) (gas.Rule, []ast.Node) {
// NewMkdirPerms creates a rule to detect directory creation with more permissive than
// configured permission mask.
func NewMkdirPerms(conf gas.Config) (gas.Rule, []ast.Node) {
mode := getConfiguredMode(conf, "G301", 0700)
mode := getConfiguredMode(conf, "G301", 0750)
return &filePermissions{
mode: mode,
pkg: "os",