when I compile and run this, I get:
setgroups: Operation not permitted

Note that xscreensaver (4.23) only calls setgroups if it needs to: if the group list already contains only the one group that is intended, it doesn't call it. So a setgroups failure really is a problem.

Perhaps one has to call setgid before setgroups? If so, reversing the order of the calls around line 137 in setuid.c might fix it?

Ralf, can you verify that this program does work on your system, and
maybe direct me to the real problem?

Also see the "test-uid.c" program in xscreensaver/driver/.

--
Jamie Zawinski      [EMAIL PROTECTED]                  http://www.jwz.org/
                    [EMAIL PROTECTED]      http://www.dnalounge.com/
                                         http://jwz.livejournal.com/




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

Reply via email to