bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#97342: hurd: getegid() fails


From: Marcus . Brinkmann
Subject: Bug#97342: hurd: getegid() fails
Date: Sun, 13 May 2001 18:08:51 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]