From d6c386f4485f760e64a8bd07e356ca7703df55f5 Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Wed, 2 Feb 2022 23:08:35 -0300 Subject: [PATCH] fix: nfpm binaries should have 755 instead of 775 perms Signed-off-by: Carlos A Becker --- internal/pipe/nfpm/nfpm.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/pipe/nfpm/nfpm.go b/internal/pipe/nfpm/nfpm.go index c39a50e8df7..586465c112c 100644 --- a/internal/pipe/nfpm/nfpm.go +++ b/internal/pipe/nfpm/nfpm.go @@ -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, + }, }) } }