&fatal("Can't release $tmp[$#tmp] in cell $cell");
}
-&afs_quota_adj($cell,$asrv,$apart,$quota);
+# Update the quota records.
+&afs_quota_adj($cell,$asrv,$apart,$quota,0);
exit(0);
sub fatal
push(@acl,"system:anyuser rl")
if ($type =~ /^(ACTIVITY|APROJ|CONTRIB|REF|SYSTEM)/);
- if ($type !~ /^(AREF|SYSTEM)/) {
+ if ($type !~ /^(AREF|ORG|SYSTEM)/) {
system("$fs mkm $path/OldFiles $vname.backup");
warn "$locker: Unable to create OldFiles mountpoint\n" if ($?);
}
}
if ($type eq "ORG") {
- mkdir("$path/www",0755) || die "Unable to create subdirectories\n";
- system("$fs sa $path @acl system:anyuser rl -clear") &&
+ mkdir("$path/www",0755) &&
+ chown(0,0,"$path/www") ||
+ die "Unable to create subdirectories\n";
+ system("$fs sa $path/www @acl system:anyuser rl -clear") &&
die "Unable to set acl on www directory\n";
system("$fs sa $path @acl system:anyuser l -clear") &&
die "Unable to set acl on top-level directory\n";
+ return;
}
if ($type eq "HOMEDIR") {