Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!usc!ginosko!uunet!virtech!cpcahil From: cpcahil@virtech.UUCP (Conor P. Cahill) Newsgroups: comp.unix.wizards Subject: Re: How does 'mv' rename directories? Message-ID: <1146@virtech.UUCP> Date: 14 Sep 89 03:38:54 GMT References: <544@isi.UUCP> Organization: Virtual Technologies Inc Lines: 14 In article <544@isi.UUCP>, mike@isi.UUCP (Mike Maloney) writes: > But on Microport, Xenix, and Sun Unix 4.0, /bin/mv is -rwxr-xr-x and is > owned by 'bin'. How is 'mv' able to rename directories on a properly > working system? On system V 3.2 mv determines that a directory is to be moved and calls the program /usr/lib/mv_dir which is setuid to root. -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+