Skip to content

Commit

Permalink
fix: nfpm binaries should have 755 instead of 775 perms (#2873)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Feb 3, 2022
1 parent f3743ed commit 1207806
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/pipe/nfpm/nfpm.go
Expand Up @@ -197,6 +197,9 @@ func create(ctx *context.Context, fpm config.NFPM, format string, binaries []*ar
contents = append(contents, &files.Content{
Source: filepath.ToSlash(src),
Destination: filepath.ToSlash(dst),
FileInfo: &files.ContentFileInfo{
Mode: 0o755,
},
})
}
}
Expand Down

0 comments on commit 1207806

Please sign in to comment.