Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!cs.dal.ca!silvert From: silvert@cs.dal.ca (Bill Silvert) Newsgroups: comp.sys.sgi Subject: Re: ELM on IRISES (No write acces in /usr/mail ?) Summary: There seem to be sgid problems Message-ID: <1991Feb27.152120.26619@cs.dal.ca> Date: 27 Feb 91 15:21:20 GMT References: <9102262011.AA04235@ccfiris.aedc> <5079@unlisys.in-berlin.de> Sender: silvert@cs.dal.ca.UUCP (Bill Silvert) Reply-To: bill%biomel@cs.dal.ca Organization: Habitat Ecology Div., Bedford Inst. of Oceanography Lines: 24 In article <5079@unlisys.in-berlin.de> rot@unlisys.in-berlin.de (Robert Rothe) writes: [discussion about lock files] >But why this ? is there no setgid() available, or doesn't it work ? I've just installed ELM on a 4D/25 as well as on a Stardent, and there seem to be lock problems. Even though ELM runs sgid as mail and the mail directory has the correct group and permissions, ELM cannot create the lock files (which it tries to do in /usr/mail). The solution which worked for me was to change the permissions on /usr/mail from 775 to 3777 (rwxrwxr-x to rwxrwsrwt), which seems very common on Suns, although I don't understand why (by the way, mail with exactly the same premissions has no such problems). Somehow it seems that setgid() doesn't work right. Syd suggested that perhaps it should be setegid(), but I'm no expert on this stuff. -- William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2. Tel. (902)426-1577 UUCP=..!{uunet|watmath}!dalcs!biomel!bill BITNET=bill%biomel%dalcs@dalac InterNet=bill%biomel@cs.dal.ca