[email protected]
[Top] [All Lists]

Bug#285852: marked as forwarded (manpages-dev: geteuid/getegid misleadin

Subject: Bug#285852: marked as forwarded manpages-dev: geteuid/getegid misleading description
From: Debian Bug Tracking System
Date: Sat, 18 Dec 2004 02:03:21 -0800
Your message dated Sat, 18 Dec 2004 10:43:50 +0100
with message-id <[email protected]>
has caused the Debian Bug report #285852,
regarding manpages-dev: geteuid/getegid misleading description
to be marked as having been forwarded to the upstream software
author(s) Michael Kerrisk <[email protected]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at 285852-forwarded) by bugs.debian.org; 18 Dec 2004 09:47:31 +0000
>From [email protected] Sat Dec 18 01:47:31 2004
Return-path: <[email protected]>
Received: from luonnotar.infodrom.org [] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CfbBT-00039C-00; Sat, 18 Dec 2004 01:47:31 -0800
Received: by luonnotar.infodrom.org (Postfix, from userid 10)
        id 1EEC6366B84; Sat, 18 Dec 2004 10:47:32 +0100 (CET)
Received: at Infodrom Oldenburg (/\##/\ Smail- 1998-Aug-2 #2)
        from infodrom.org by finlandia.Infodrom.North.DE
        via smail from stdin
        id <[email protected]>
        for [email protected]; Sat, 18 Dec 2004 10:43:51 +0100 
Date: Sat, 18 Dec 2004 10:43:50 +0100
From: Martin Schulze <[email protected]>
To: Michael Kerrisk <[email protected]>
Cc: Debian Bug Tracking System <[email protected]>
Subject: Re: manpages-dev: geteuid/getegid misleading description
Message-ID: <[email protected]>
References: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

Moin Michael!

I have received the bug report below

Delian Krustev wrote:
> This is taken from the DESCRIPTION section of all get{,e}{u,g}id:
> ******
> The  real ID corresponds to the ID of the calling process.
> The effective ID corresponds to the set ID bit on the file being executed.
> ******
> I find the second sentence pretty misleading, since the E{U,G}ID of a process
> might also depend on other factors (e.g. nosuid mount option of the underlying
> filesystem, previous call to setXXid functions, etc .. ). Suggested fix is to
> use the information similar to the posix manpages, where no info about
> effective ids is better than missleading info:
> The getegid() function returns the effective group ID of the calling process.

I'd rather add something like the following in order to provide
comprehensive information:

When a normal program is executed, the effective and real user ID of
the process are set to the ID of the user executing the file.
When a set ID program is executed the real user ID is set to the
calling user and the effective user ID corresponds to the set ID bit
on the file being executed.

And similar for the getegid manpage.

What do you think?



Experience is something you don't get until just after you need it.

Please always Cc to me when replying to me on the lists.

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#285852: marked as forwarded (manpages-dev: geteuid/getegid misleading description), Debian Bug Tracking System <=