🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99509

Re: movemail access problem

#99509
From: Roberto Shironoshita
Date: Fri, 03 Aug 1990 17:16
34 lines
2142 bytes
In article <9008022133.AA23364@pyrmisdev.pyramid.com> kwatson@pyrmisdev.pyramid.com (Kennita Watson) writes:
> On the Pyramid (berkeley-unix, emacs-version 18.55.1) movemail as
> installed is not allowed to create lock files in the /usr/spool/mail
> directory.

> Our sysadmin fixed this by logging on as root and doing the following:
>
> 	chmod 2755 movemail
> 	chgrp mail movemail
>
> which apparently causes movemail to be in group "mail" (the group for
> /usr/spool/mail) when it runs, so it can create the lock files.

That should probably be
		chgrp mail movemail
		chmod 2755 movemail

I believe the set[ug]id bits are cleared on ch\(grp\|own\).

> It seems this should be documented somewhere, or better yet, the
> movemail.c code should set its group appropriately.

Movemail can't unless the user already belongs to group mail.  Besides, the
numeric GID will likely be different for different implementations.  But
you are right, this should be documented somehow, possibly in the makefile.

--

     Roberto Shironoshita      ||   Internet: shirono@ssd.csd.harris.com
      Harris Corporation       ||
   Computer Systems Division   ||   UUCP:     ...!uunet!hcx1!shirono
                               ||
DISCLAIMER: The opinions expressed here are my own; they in no way reflect the
            opinion or policies of Harris Corporation.
Technical Details
Message-ID: <SHIRONO.90Aug3131616@gcx1.ssd.csd.harris.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!samsung!rex!uflorida!travis!shirono
References: <9008022133.AA23364@pyrmisdev.pyramid.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,9d8b3f77e3b50508
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-08-03 10:16:16 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!samsung!rex!uflorida!travis!shirono
From: shirono@ssd.csd.harris.com (Roberto Shironoshita)
Newsgroups: gnu.emacs.bug
Subject: Re: movemail access problem
Message-ID: <SHIRONO.90Aug3131616@gcx1.ssd.csd.harris.com>
Date: 3 Aug 90 17:16:16 GMT
References: <9008022133.AA23364@pyrmisdev.pyramid.com>
Sender: news@travis.csd.harris.com
Reply-To: shirono@ssd.csd.harris.com
Distribution: gnu
Organization: Harris Computer Systems
Lines: 34
Posted: Fri Aug  3 18:16:16 1990
In-reply-to: kwatson@pyrmisdev.pyramid.com's message of 2 Aug 90 21:33:59 GMT