1
1
mirror of https://github.com/goreleaser/nfpm synced 2026-04-27 20:42:29 +02:00
nfpm/files
Carlos Alexandro Becker 74c150997b
fix(files): check ownedByFilesystem after destination is set
Ownership check ran against empty c.Destination, so
ownedByFilesystem always returned false. Tree entries
with custom owner/group would incorrectly apply them
to filesystem-owned directories like /usr or /usr/local.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-13 23:18:43 -03:00
..
testdata fix(files): check ownedByFilesystem after destination is set 2026-04-13 23:18:43 -03:00
files_test.go fix(files): check ownedByFilesystem after destination is set 2026-04-13 23:18:43 -03:00
files.go fix(files): check ownedByFilesystem after destination is set 2026-04-13 23:18:43 -03:00
fs.go fix: lint issues, modernize codebase (#922) 2025-03-29 08:57:48 -03:00