Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: tl@cd.chalmers.se (Torbj|rn Lindgren)
Subject: Re: Patch for Elm 2.4.23 under OSF/1 (DEC Alpha)
Date: 14 Jul 1994 20:48:26 GMT	[thread overview]
Message-ID: <3048aq$cni@nyheter.chalmers.se> (raw)
In-Reply-To: 1994Jul14.153046.19720@ultb.isc.rit.edu

In article <1994Jul14.153046.19720@ultb.isc.rit.edu>,
Greg Pratt <glp5941@burn.isc.rit.edu> wrote:
>The patch is fairly simple.  Chmod the file src/fileio.c to 600 (it's set
>to 400 by default, I believe), and change line 468 as follows:

Another possibility is to answer yes on the query about setgid mail
(since the mail-file has the group this is probably correct, even if
the permission of the mail-directory means that you don't have to
answer yes) and answer *no* to the question about switching between
real and effective group id (using setgid).

When I answered this way it stopped making noise about 'Problem
restoring permissions'. Since mail-files has the group mailthe
question about setgid really should be answered with yes. The other
question is a bit harder to check (the manpage doesn't tell whether
setgid can switch back to a old group).

>The above patch presumes that you'll be using DEC's C compiler; I have not
>tested it with gcc.  I'm also assuming this will work on versions of OSF/1
>older than 2.0 (which is what I'm using).

My elm is compiled with DEC's cc under OSF/1 2.0 without any patches
to elm. 

>Note that I've compiled Elm to run non-setgid on my system.  (I'm not even
>sure that in this case it makes a big difference.)
[...]
>are trying to change the file's group.  If this is he way chown() on your
>system works, Elm does the chown (via elm_chown()) but ignores the return
>status.

Since the mail-files has the group 'mail' elm must be setgid mail to
have a chance to change the group back to 'mail'.


  reply	other threads:[~1994-07-14 20:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-14 15:30 Patch for Elm 2.4.23 under OSF/1 (DEC Alpha) Greg Pratt
1994-07-14 20:48 ` Torbj|rn Lindgren [this message]
1994-07-15 13:37   ` Phil Benchoff
1994-07-21 13:50     ` Phil Benchoff
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox