Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site bucsd.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!genrad!panda!talcott!harvard!bucsd!bzs From: bzs@bucsd.UUCP (Barry Shein) Newsgroups: net.unix-wizards Subject: SYS V unlink() call Message-ID: <170@bucsd.UUCP> Date: Sat, 15-Feb-86 21:26:16 EST Article-I.D.: bucsd.170 Posted: Sat Feb 15 21:26:16 1986 Date-Received: Mon, 17-Feb-86 05:12:29 EST Organization: Boston Univ Comp. Sci. Lines: 15 Re: need to be root or setuid to unlink files in SYS/V Tis true, if you are struggling over a program that wants to unlink a directory try: #define RMDIR "/bin/rmdir" ...time passes... sprintf(buf,"%s %s",RMDIR,directoryname); system(buf); with appropriate error checks and customizing. And stop feeling sorry for the wires :-) -Barry Shein, Boston University