Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!pasteur!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!kunivv1!atcmpe!gertjan From: gertjan@atcmpe.UUCP (Gertjan Vinkesteyn) Newsgroups: comp.mail.elm Subject: Re: mkdir ~/.elm required Summary: mkdir .elm does work Keywords: mkdir .elm directory Message-ID: <464@atcmpe.UUCP> Date: 30 Jan 89 10:01:49 GMT References: <286@wubios.wustl.edu> Organization: AT Computing BV, Nijmegen The Netherlands Lines: 30 In article <286@wubios.wustl.edu>, david@wubios.wustl.edu (David J. Camp) writes: > Some of my users are encountering a hurdle when they try to do an > operation that requires that a file on the ~/.elm directory be opened. > If the directory does not exist, they get an error message. I have been > telling them to 'mkdir ~/.elm' on a case-by-case basis, but it sure > would be nice if elm would automatically make this directory when > needed. -David- > Line 74 till 84 in the file src/utils.c read: /** Some systems don't have a mkdir call - how inconvienient! **/ #ifdef NOMKDIR sprintf(com, "mkdir %s/.elm", home); system_call(com, SH); sprintf(com, "chmod 700 %s/.elm", home); system_call(com, SH); #else sprintf(source, "%s/.elm", home); (void) mkdir(source, 0700); #endif NOMKDIR that means to me that it always should work correctly so what is wrong with your configuration might be that you have the setuid bit set for user as well as the setgid bit for group. Do a chmod 2755 /usr/local/bin/elm to set the setgid bit only (in most cases to a group called 'mail') -- UUCP and other network )\/( ..!hp4nl!kunivv1!atcmpe!gertjan connections via mcvax )/\( gertjan@atcmp.nl (internet) This note does not necessarily represent the position of AT Computing BV