Skip to content

Commit a40677c

Browse files
dtzWilljoachifm
authored andcommittedJul 15, 2017
opensmtpd: Fix attempt to set unsupported permissions during install
(cherry picked from commit 04aa269)
1 parent 8e75b4d commit a40677c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎pkgs/servers/mail/opensmtpd/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
3131
substituteInPlace smtpd/smtpctl.c --replace \
3232
'if (geteuid())' \
3333
'if (geteuid() != 0 && !(argc > 1 && !strcmp(argv[1], "encrypt")))'
34+
substituteInPlace mk/smtpctl/Makefile.in --replace "chmod 2555" "chmod 0555"
3435
'';
3536

3637
configureFlags = [

0 commit comments

Comments
 (0)
Please sign in to comment.