Skip to content

Commit

Permalink
Make the folder permissions more permissive to avoid false positives (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmincojocar authored and gcmurphy committed Feb 15, 2018
1 parent d48668e commit 1c58cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/fileperms.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1c58cbd

Please sign in to comment.