summaryrefslogtreecommitdiff
path: root/patch-cassandane-fix-annotator
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:15:50 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:15:50 +0000
commit1bb6cd3e44793f984a185599a1b67bec1746c9cb (patch)
tree40335c0662c5a1759dddb4cd77dec610d4a48459 /patch-cassandane-fix-annotator
parent8b4f6660a4ef8974e8d1cb34f6ba34b66598d9f8 (diff)
automatic import of cyrus-imapdopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'patch-cassandane-fix-annotator')
-rw-r--r--patch-cassandane-fix-annotator14
1 files changed, 14 insertions, 0 deletions
diff --git a/patch-cassandane-fix-annotator b/patch-cassandane-fix-annotator
new file mode 100644
index 0000000..b5875e6
--- /dev/null
+++ b/patch-cassandane-fix-annotator
@@ -0,0 +1,14 @@
+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";