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