cyrus-imapd/patch-cassandane-fix-annotator
Martin Osvald a6ba61827f New version 3.8.2
spec file clean up

Resolves: RHEL-27603
2024-04-05 09:25:59 +02:00

15 lines
443 B
Plaintext

diff --git a/cassandane/utils/annotator.pl b/cassandane/utils/annotator.pl
index 265c73f..8af3d58 100755
--- a/cassandane/utils/annotator.pl
+++ b/cassandane/utils/annotator.pl
@@ -140,6 +140,8 @@ GetOptions(
xlog "annotator $$ starting";
Cassandane::AnnotatorDaemon->run(
pid_file => $pidfile,
- port => $port
+ port => $port,
+ user => (getpwuid($<))[0],
+ group => (getgrgid($())[0],
);
xlog "annotator $$ exiting";