blob: 94682461fa2597853570d357bc0be006054877f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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";
|