diff options
Diffstat (limited to 'mail/cyrus-imapd/files/patch-dg')
-rw-r--r-- | mail/cyrus-imapd/files/patch-dg | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/cyrus-imapd/files/patch-dg b/mail/cyrus-imapd/files/patch-dg new file mode 100644 index 00000000000..94682461fa2 --- /dev/null +++ b/mail/cyrus-imapd/files/patch-dg @@ -0,0 +1,29 @@ +Index: tools/mkimap +diff -u tools/mkimap.orig tools/mkimap +--- tools/mkimap.orig Thu Jan 25 06:26:51 2001 ++++ tools/mkimap Sat Apr 7 05:42:24 2001 +@@ -119,6 +119,8 @@ + mkdir "deliverdb", 0755; + mkdir "deliverdb/db", 0755; + ++system "/usr/sbin/chown -R cyrus:cyrus ."; ++ + # create the sieve stuff + if (!$nosievedir) { + print "creating $sievedir...\n"; +@@ -127,6 +129,7 @@ + if (chdir $sievedir) { + foreach $i ("a".."z") { mkdir "$i", 0755; } + } ++ system "/usr/sbin/chown -R cyrus:cyrus $sievedir"; + } + + $flag = 0; +@@ -138,6 +141,7 @@ + chdir $part or die "couldn't change to partition $part"; + mkdir "stage.", 0755; + if ($hashispool) { foreach $i ("a".."z") { mkdir $i, 0755; } } ++ system "/usr/sbin/chown -R cyrus:cyrus $part"; + } + + print "done\n"; |