*BSD News Article 33499


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!tulane!darwin.sura.net!paladin.american.edu!MathWorks.Com!solaris.cc.vt.edu!csugrad.cs.vt.edu!not-for-mail
From: jaitken@csugrad.cs.vt.edu (Jeff Aitken)
Newsgroups: comp.os.386bsd.questions
Subject: FreeBSD 1.1.5 & elm permissions prob
Date: 25 Jul 1994 16:08:57 -0400
Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
Lines: 32
Message-ID: <31164p$2rh@csugrad.cs.vt.edu>
Reply-To: jaitken@vt.edu
NNTP-Posting-Host: csugrad.cs.vt.edu
X-Newsreader: TIN [version 1.2 PL2]

Ok, I fixed (for the most part) the SLIP problem.  Thanks to all who
replied (even if the reply followed a flame ;)

Now, the elm problem is really weird.  I fixed the locking problem
(thanks to those who told me to use fcntl locking only), but the
"permission denied" error persists.  Here's an outline of the problem.

Run elm.  Hit 'm' to mail a message.  elm asks for recipient and
subject.  After entering those, and hitting return at the 'Cc:' prompt,
it flashes the message "/tmp/snd.xxxx Permission Denied"  and leaves me
at the 's'end, 'e'dit, or 'f'orget it menu.  

First of all, /tmp has perms 1777 (i.e., rwxrwxrwt).  There is space
available on /tmp (about 10MB).  Now, if at this point I control-z out
of elmand do an ls -al of /tmp, the file /tmp/snd.xxxx exists, is owned
by me, and has 0 length.  So somehow, I can create but not edit the
file.  FWIW, it has permissions 600 (i.e., rw-------)

Does anyone have an idea what I might have done to cause this?  elm is
installed setgid (because /var/mail is owned by bin and mode 775).  I
can't think of anything else that might be relevant.  Please help!
/bin/mail just doesn't cut it ;) 


Jeff


-- 
Jeff Aitken						 jaitken@vt.edu

   A witty saying proves nothing, but saying something stupid gets
                          peoples' attention