[Konsole-devel] [Bug 52857] New: can't run an application with a click on the desktop without to be root

virtuoso virtuoso2001 at tin.it
Fri Jan 10 17:34:51 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=52857     
           Summary: can't run an application with a click on the desktop
                    without to be root
           Product: konsole
           Version: unspecified
          Platform: FreeBSD Ports
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: virtuoso2001 at tin.it


Version:            (using KDE KDE 3.0.5)
Installed from:    FreeBSD Ports
Compiler:          gcc 2.95.4 ; gmake 3.79.1 
OS:          FreeBSD

inside /scripts folder ,i have these shell scripts :

file:/scripts

Open_Volume

#!/bin/sh
mixer vol 70

permissions : -rwxr-xr-x

Mount_Cdrom

#!/bin/sh
mount -t cd9660 -o ro /dev/acd0c /mnt/cdrom

permissions : -rwxr-xr-x

in /usr/home/virtuoso/desktop i have these desktop configuration files :

Open_Volume

[Desktop Entry]
Comment[en_US]=
Encoding=UTF-8
Exec='/scripts/Open_Volume'
Icon=up
MimeType=
Name[En_US]=Open_Volume
Path=
ServiceType=
SwallowExec=
SwallowTitle=
Terminal=true
TerminalOptions=
Type=Application
X-KDE=SubstituteUID=false
X-KDE=Username=root

permissions = -r--r--r--

Mount-Cdrom

[Desktop Entry]
Comment[en_US]=
Encoding=UTF-8
Exec='/scripts/Mount_Cdrom'
Icon=cdrom_mount
MimeType=
Name[En_US]=Mount_Cdrom
Path=
ServiceType=
SwallowExec=
SwallowTitle=
Terminal=true
TerminalOptions=
Type=Application
X-KDE=SubstituteUID=true
X-KDE=Username=root

permissions = -r--r--r--

until 3 days ago when i clicked over the icons of my desktop,i was able to run Open_Volume and Mount_cdrom,logging inside my freebsd machine with the user of virtuoso and submitting my root password with su. 

my group fle is :

wheel:*:0:root,virtuoso
operator:*:5:root,virtuoso
virtuoso:*:1001:

when i've upgraded to kde 3.05 from the ports,im getting this error :

konsole : chownty failed for device /dev/ptyp3::/dev/ttyp3.
this means the session can be eavesdroped
make sure konsole_grantpty is installed in /usr/local/bin/ and setuid root

and im not able anymore to run my shell scripts.
they are working great when i log in using root.



More information about the konsole-devel mailing list