[Portland] [Bug 7582] New: xdg-su should not care if there is no
GUI when being run as root.
bugzilla-daemon at annarchy.freedesktop.org
bugzilla-daemon at annarchy.freedesktop.org
Thu Jul 20 15:32:25 PDT 2006
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=7582
Summary: xdg-su should not care if there is no GUI when being run
as root.
Product: Portland
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: xdg-utils
AssignedTo: portland at lists.freedesktop.org
ReportedBy: tom.whipple at intel.com
Suppose we are already root. Then,
# xdg-su -c whoami
Should simply print "root" without any difficulty. Instead,
Command (xdg-su -c whoami) gave exit code 3, expected 0
Incorrect output written to stdout, as shown below
expected stdout:root
Unexpected output written to stderr, as shown below:
stderr:xdg-su: no graphical method available for invoking 'whoami' as 'root'
See test case xdg-su/t.su_basic_asroot
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Portland
mailing list