Copyright (C) 1995 University of Kansas. All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Kansas University not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Kansas University makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
rmg does not remove the physical directory, it only disassociates it from the product. A group can be removed from a product even if it contains other groups unless the group to be removed is the top level group. Removing groups which contain other groups does leave a hole in the hierarchy of groups, but it does not affect those other groups in any way. To remove an entire product, all groups within the product must be removed first. Then, using rmg on the top level group removes the product completely.