Hi Patrick,
On Wed, Feb 20, 2002 at 01:16:29AM -0600, patrick reardon wrote:
> # chmod +s /usr/bin/alsaplayer
>> to set the set-uid bit. (hope this is correct, could only find limited info o
The correct command for suid root is
# chmod u+s /usr/bin/alsaplayer
With just +s the process will also be set gid root (group id) and it
looks like GTK+ is also checking if this is true or not.
> $ ls -l /usr/bin/alsaplayer
> 916 -rwsr-sr-x 1 root 931562 Feb 19 23:19 /usr/bin/alsaplayer
$ ls -l alsaplayer
-rwsr-xr-x 1 root root 942823 Feb 19 03:41 alsaplayer
So you only have to do a chmod g-s on your binary to get it to work...
Regards,
Andy