[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    Bug#97342: hurd: getegid() fails
From:       Marcus.Brinkmann () ruhr-uni-bochum ! de
Date:       2001-05-13 16:08:51
[Download RAW message or body]

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




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic