From 120780605bf919ebdd1a8f877d9e4b345b53b143 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 2 Feb 2022 23:30:08 -0300 Subject: [PATCH] fix: nfpm binaries should have 755 instead of 775 perms (#2873) 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, + }, }) } }