]> andersk Git - moira.git/commitdiff
Forgot to setacl on www subdir, and do not want OldFiles for type ORG
authorprobe <probe>
Tue, 18 Oct 1994 13:10:07 +0000 (13:10 +0000)
committerprobe <probe>
Tue, 18 Oct 1994 13:10:07 +0000 (13:10 +0000)
incremental/afs_create.pl

index d453a5f1bbaf24b6df4f0131caee06f8cd32a413..1d104f61d9cf651c561af104ae5248203b29e913 100644 (file)
@@ -124,7 +124,7 @@ sub athena_proc
     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 ($?);
     }
@@ -139,11 +139,12 @@ sub athena_proc
 
     if ($type eq "ORG") {
        mkdir("$path/www",0755) || die "Unable to create subdirectories\n";
-       system("$fs sa $path @acl system:anyuser rl -clear") &&
+       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") {
This page took 0.043803 seconds and 5 git commands to generate.