cyrus-imapd/patch-cassandane-fix-annotator

15 lines
443 B
Plaintext
Raw Normal View History

diff --git a/cassandane/utils/annotator.pl b/cassandane/utils/annotator.pl
2020-09-04 05:30:07 +00:00
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(
2020-09-04 05:30:07 +00:00
pid_file => $pidfile,
- port => $port
+ port => $port,
2020-09-04 05:30:07 +00:00
+ user => (getpwuid($<))[0],
+ group => (getgrgid($())[0],
);
xlog "annotator $$ exiting";