Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12072 - mlterm 2.94-1: Ctr+right click and Ctr+left click do not work

Attached to Project: Arch Linux
Opened by syigwei shi (syig) - Monday, 10 November 2008, 11:03 GMT-5
Last edited by jud (judfilm) - Thursday, 04 December 2008, 03:41 GMT-5
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity High
Priority Normal
Reported Version 2008.06
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

Pushing control key and mouse button 3 does not invoke GUI
configurator, nor does holding control key and mouse button 1 bring out
configurable menu displayer.

This is the error message I get:

(process:11277): Gtk-WARNING **: This process is currently running
setuid or setgid. This is not a supported use of GTK+. You must create
a helper program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

ls -l /usr/bin/mlterm:
-rwsr-xr-x 1 root root 270168 2008-03-25 17:04 /usr/bin/mlterm

Looks like the bug can be fixed by running
sudo chmod -s /usr/bin/mlterm

Additional info:
* package version(s)
mlterm 2.94-1
gtk2 2.14.4-1

* config and/or log files etc.

Steps to reproduce:
Ctr+right click and Ctr+left click
This task depends upon

Comment by Tobias Kieslich (tobias) - Sunday, 16 November 2008, 02:43 GMT-5
I hope you understand that this is not an option because at that point mlterm would be run with root privileges anytime.
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 16:02 GMT-5
Actually, he's removing the suid bit, which means mlterm is installed suid root by default! Take a look at this:

[root@polaris glenn]# pacman -S mlterm
resolving dependencies...
looking for inter-conflicts...

Targets (1): mlterm-2.9.4-1

Total Download Size: 0.00 MB
Total Installed Size: 2.27 MB

Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts [################################] 100%
(1/1) installing mlterm [################################] 100%
[root@polaris glenn]# ls -lha /usr/bin|grep mlterm
-rwsr-xr-x 1 root root 264K Mar 26 2008 mlterm
[root@polaris glenn]#

Loading...