Skip to content

Commit

Permalink
pkg/promtail/positions: remove executable bit from positions file
Browse files Browse the repository at this point in the history
File permissions on creation of positions.yaml will now be 0600
instead of 0700.

Fixes #892.
  • Loading branch information
rfratto committed Aug 13, 2019
1 parent ec41452 commit a745148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/promtail/positions/positions.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
yaml "gopkg.in/yaml.v2"
)

const positionFileMode = 0700
const positionFileMode = 0600

// Config describes where to get postition information from.
type Config struct {
Expand Down

0 comments on commit a745148

Please sign in to comment.