diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-04-06 20:57:14 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-04-06 20:57:14 +0000 |
commit | 9cef64526ac90ce6d5d8e77dbd255b02b62f1dd4 (patch) | |
tree | bf73360186542dd2cec0fed915da64b4bfdea7fb /mail/cyrus-imapd | |
parent | Upgrade to 0.4.1 (diff) |
Add missing patch that does chown to cyrus spool directory.
Notes
Notes:
svn path=/head/; revision=40962
Diffstat (limited to 'mail/cyrus-imapd')
-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 000000000000..94682461fa25 --- /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"; |