Your message dated Sun, 13 May 2001 20:24:50 +0200 with message-id <[EMAIL PROTECTED]> and subject line Bug#97342: hurd: getegid() fails has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (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.) Darren Benham (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 13 May 2001 16:09:55 +0000 >From [EMAIL PROTECTED] Sun May 13 11:09:55 2001 Return-path: <[EMAIL PROTECTED]> Received: from sunu422.rz.ruhr-uni-bochum.de [134.147.64.14] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 14yyRO-0000Bj-00; Sun, 13 May 2001 11:09:55 -0500 Received: (qmail 24720 invoked by alias); 13 May 2001 16:09:53 -0000 Received: (qmail 24707 invoked from network); 13 May 2001 16:09:53 -0000 Received: from dialppp-7-59.rz.ruhr-uni-bochum.de (HELO localhost) ([EMAIL PROTECTED]) by mailhost.rz.ruhr-uni-bochum.de with SMTP; 13 May 2001 16:09:53 -0000 Received: from marcus by localhost with local (Exim 3.22 #1 (Debian)) id 14yyQN-00008G-00; Sun, 13 May 2001 18:08:51 +0200 From: [EMAIL PROTECTED] Subject: hurd: getegid() fails To: [EMAIL PROTECTED] X-Mailer: bug 3.3.9 Message-Id: <E14yyQN-00008G-00@localhost> Sender: Marcus Brinkmann <[EMAIL PROTECTED]> Date: Sun, 13 May 2001 18:08:51 +0200 Organization: Marcus Brinkmann's Home Delivered-To: [EMAIL PROTECTED] Package: hurd Version: N/A Severity: normal Hi, I found out why screen complains about /var/run/screen permissions. screen runs as root.utmp, 02755, and expects utmp as its effective group id. The following program fails: main() { printf ("%i\n", getegid(); } $ make getegid $ ./getegid 0 $ chgrp root.utmp getegid; chmod 02755 getegid $ ./getegid 0 The expected value in the last run is 43 (or whatever the gid of utmp is on your system). Thanks, Marcus -- System Information Debian Release: testing/unstable Kernel Version: Linux ulysses 2.4.0-test9 #1 Mon Okt 30 20:36:05 CET 2000 i686 unknown --------------------------------------- Received: (at 97342-done) by bugs.debian.org; 13 May 2001 18:25:28 +0000 >From [EMAIL PROTECTED] Sun May 13 13:25:28 2001 Return-path: <[EMAIL PROTECTED]> Received: from sunu422.rz.ruhr-uni-bochum.de [134.147.64.14] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 14z0YZ-0005CG-00; Sun, 13 May 2001 13:25:28 -0500 Received: (qmail 22405 invoked by alias); 13 May 2001 18:25:26 -0000 Received: (qmail 22398 invoked from network); 13 May 2001 18:25:25 -0000 Received: from dialppp-5-43.rz.ruhr-uni-bochum.de (HELO localhost) ([EMAIL PROTECTED]) by mailhost.rz.ruhr-uni-bochum.de with SMTP; 13 May 2001 18:25:25 -0000 Received: from marcus by localhost with local (Exim 3.22 #1 (Debian)) for [EMAIL PROTECTED] id 14z0Y0-00007O-00; Sun, 13 May 2001 20:24:52 +0200 Date: Sun, 13 May 2001 20:24:50 +0200 From: Marcus Brinkmann <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Bug#97342: hurd: getegid() fails Message-ID: <[EMAIL PROTECTED]> References: <E14yyQN-00008G-00@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <E14yyQN-00008G-00@localhost>; from [EMAIL PROTECTED] on Sun, May 13, 2001 at 06:08:51PM +0200 Sender: Marcus Brinkmann <[EMAIL PROTECTED]> Organization: Marcus Brinkmann's Home Delivered-To: [EMAIL PROTECTED] On Sun, May 13, 2001 at 06:08:51PM +0200, [EMAIL PROTECTED] wrote: > The following program fails: > > main() > { > printf ("%i\n", getegid(); > } > > $ make getegid > $ ./getegid > 0 > $ chgrp root.utmp getegid; chmod 02755 getegid > $ ./getegid > 0 Fact is, that the user id is always used. The following change in libdiskfs should fix it: 2001-05-13 Marcus Brinkmann <[EMAIL PROTECTED]> * file-exec.c: Initialize GID with st_gid rather than st_uid. Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd