LOCKSOI(1)



NAME

     locksoi, unlocksoi, rmdirsoi - lock, unlock, and unlink  soi
     directories


SYNOPSIS

     locksoi pathname...

     unlocksoi pathname...


DESCRIPTION

     changes the owner and group of the named directories changed
     to SOI and sets the mode set to 555 so that the directories'
     contents are frozen.  It clears any flags that may have been
     set by unlocksoi.

     unlocksoi changes the owner and group of  the  named  direc-
     tories changed to SOI and sets the mode set to 575.  It also
     raises a lock flag preventing anyone else from unlocking the
     directories.   Unlocked  directories can have their contents
     changed or removed.

     rmdirsoi is needed to completely remove a controlled  direc-
     tory without setting a permanent lock.

     All of these commands work if and only if the  caller  is  a
     member of group SOI.


FILES

     /etc/passwd, /etc/group  ID of pseudo-user soi and group SOI

     ~soi/lock                Lock files


SEE ALSO

     unlocksoi(1), clrgroup(1), soigroup(1)


BUGS

     These commands run suid, and give anyone in group SOI access
     to  any  directory,  possibly  denying  write-access  to the
     owner.  Only members of group SOI can run them.   They  also
     work  for  files, but makes them executable unconditionally.
     They work but report incorrect error messages when used over
     a mount.  rmdirsoi has no provision for recursively removing
     files.  It should not be necessary.


AUTHOR

     Chris Johnson


HISTORY

     1993-09-21
     1994-02-08
     SOI Version 0.8