Skip to content

Commit

Permalink
Also explicitly remove SGID bit when building .deb
Browse files Browse the repository at this point in the history
The presence of this bit on the files seems to have no consequence on
the final package as the installed files do not have the SGID bit set.
But for consistency with the rpm packaging, unset the bit before
building the package.

Signed-off-by: Romain Tartière <[email protected]>
  • Loading branch information
smortex committed Aug 21, 2023
1 parent 0b4c277 commit 71c7c34
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ ln -s ${data_dir} ${buildroot}${product_dir}/data
ln -s ${log_dir} ${buildroot}${product_dir}/logs

# Change Permissions
chmod -Rf g-s ${buildroot}/*
chmod -Rf u=rwX,g=rX,o=rX ${buildroot}/*

exit 0

0 comments on commit 71c7c34

Please sign in to comment.