On Tue, 2006-03-28 at 14:08 -0800, Jamie Zawinski wrote:
> xscreensaver is trying to disavow write permission into (e.g.) group  
> "cdrom", and it can't.
> 
> Had your group list contained only one element, "bartvh", it would  
> not have called setgroups at all (see comments in driver/setuid.c).
> 
> I don't particularly pretend to understand this crap.

The grouplist is the same as the list one get when executing groups at
the command line, isn't it?

$ groups
bartvh cdrom audio video staff plugdev fuse netdev

It is quiete normal for a user to belong to multiple groups. 

> 
> Is the executable setuid?

No, the debian package does not install the xscreensaver package setuid.
If I add the setuid bit, it works ok. 

What I do not understand in this problem is why I would need a setuid
executable to be able to drop groups. 


Bart.




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

Reply via email to