[Bug 179863] New: commands called with sudo in scripts are ignored

501337 at gmx.de 501337 at gmx.de
Tue Jan 6 23:17:17 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=179863

           Summary: commands  called with sudo in scripts are ignored
           Product: kde
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: 501337 at gmx.de


Version:            (using KDE 4.1.3)
Installed from:    Fedora RPMs

It's not possible to have commands with sudo prior to it in scripts, if you
want to run them by doubleklicking it, with Alt-F2 or from an menu entry,
because these commands will be ignored and never be called.
If you try it from an open console, it works fine.

A little example:

#!/bin/bash
kwrite
exit 0

This script works. No problems.
If you try

#!/bin/bash
sudo kwrite
exit 0

it only works in an open console.
Doubleklicking the file cause nothing.

I always have to run konsole first, to make such a script work properly.

I don't think this is a wilful behaviour.
Hope it will be fixed.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list