]> andersk Git - moira.git/blobdiff - gen/install_dirs
fixup delete_nfs_physical
[moira.git] / gen / install_dirs
index c22e7a7feb733cd6f27a06118ea6c68173f4e6b3..a5ce77edbb87bb33732011c32c665e693c50636c 100644 (file)
@@ -32,7 +32,7 @@ while (1)
       set tmpdir = $dir:h/_$dir:t
       # Don't clobber this directory if it exists.
       if (-d $tmpdir) then
-         continue
+        break;
       else
          mkdir $tmpdir
          # At some point it may be wise to check the status here and 
@@ -56,9 +56,9 @@ while (1)
          # *****
 
          # Give user prototype files
-         # sms_untar is a setuid argv[1] tar xfp -
-         (cd $tmpdir; sms_untar $uid < $USERTAR)
+         (cd $tmpdir; tar xf $USERTAR)
          if ($status) set WARN
+        chown $uid.$gid $tmpdir $tmpdir/.??* $tmpdir/*
          breaksw      
       case COURSE:
         /bin/chmod 775 $tmpdir
This page took 0.11364 seconds and 4 git commands to generate.