From: utzoo!decvax!decwrl!sun!megatest!fortune!hpda!hplabs!sri-unix!CHUQUI@MIT-MC Newsgroups: net.unix-wizards Title: mutual exclusion between processes Article-I.D.: sri-arpa.745 Posted: Fri Mar 4 17:07:00 1983 Received: Fri Apr 1 05:48:11 1983 From: Charles F. Von Rospach That works fine, unless the Daemon runs setuid root, which I was doing with lpd for a while. Anytime something runs setuid root, locking is going to have a problem. What I ended up doing was install the MKTEMP and LINK, and have lpd setuid to run under an account called 'daemon' with group 1, uid 1. chuck