Skip to content

Commit

Permalink
add setgid to some postfix binaries (#40525)
Browse files Browse the repository at this point in the history
Fixes: missing setgid permissions on postdrop related binaries in
postfix

Signed-off-by: Jamon <[email protected]>
  • Loading branch information
jamonation authored Jan 25, 2025
1 parent 0468b76 commit 1efb0fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion postfix.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: postfix
version: 3.9.1
epoch: 0
epoch: 1
description: Secure and fast drop-in replacement for Sendmail (MTA)
copyright:
- license: IPL-1.0 OR EPL-2.0
Expand Down Expand Up @@ -177,6 +177,8 @@ pipeline:
done
rm makedefs.out
# setgid bit for postqueue group when it exists
chmod 2755 ${{targets.contextdir}}/usr/sbin/postqueue ${{targets.contextdir}}/usr/sbin/postdrop
# fix /etc/postfix/postfix-files so that "postfix set-permissions" can run
sed -i \
Expand Down

0 comments on commit 1efb0fa

Please sign in to comment.