Changeset 629
- Timestamp:
- Feb 3, 2008, 7:18:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/bin/signup-minimal
r576 r629 55 55 fi 56 56 57 ans=`$WGET -q -O- "http://scripts.mit.edu/~signup/fsla.php/mit/$lname"` 58 if [ "$ans" != "0" ]; then 59 echo 60 echo "ERROR:" 61 echo "The scripts servers cannot verify the permissions of the locker <$lname>." 62 echo "Try running \"fs sa /mit/$lname daemon.scripts l\" (with a lowercase" 63 echo "L at the end) and then try again. Contact scripts@mit.edu if you are" 64 echo "unable to solve the problem." 65 exit 1 66 fi 67 57 68 principal=`klist -5 | sed -n 's/^Default principal: // p'` 58 69 ans=`$WGET -q -O- "http://scripts.mit.edu/~signup/admof.php/$lname/$principal"` … … 63 74 echo "It appears as though you are not an administrator of the locker <$lname>." 64 75 echo "Try running \"fs sa /mit/$lname $afsuser all\" and starting over." 65 echo "Contact scripts@mit.edu if you are unable to solve the problem."66 exit 167 fi68 69 ans=`fs la "/mit/$lname" | grep '^ system:a[nyuth]*user .*l'`70 if [ -z "$ans" ]; then71 echo72 echo "ERROR:"73 echo "It appears as though the locker <$lname> is not listable by system:anyuser."74 echo "You might want to run \"fs sa /mit/$lname system:anyuser l\""75 echo "(that's a lowercase L rather than a one) and then try again."76 76 echo "Contact scripts@mit.edu if you are unable to solve the problem." 77 77 exit 1
Note: See TracChangeset
for help on using the changeset viewer.