cyrus-imapd/SOURCES/patch-cassandane-fix-annotator

15 lines
443 B
Plaintext
Raw Normal View History

2024-09-30 15:19:24 +00:00
diff --git a/cassandane/utils/annotator.pl b/cassandane/utils/annotator.pl
2021-11-03 01:21:46 +00:00
index 265c73f..8af3d58 100755
2024-09-30 15:19:24 +00:00
--- a/cassandane/utils/annotator.pl
+++ b/cassandane/utils/annotator.pl
2021-11-03 01:21:46 +00:00
@@ -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";