|
Bugzilla – Full Text Bug Listing |
| Summary: | gnome-desktop incorrectly launches gnomesu when Exec entry has params | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Scott Reeves <sreeves> |
| Component: | GNOME | Assignee: | Stanislav Brabec <sbrabec> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Exec entry with params patch | ||
|
Description
Scott Reeves
2005-11-16 00:15:57 UTC
Created attachment 57430 [details]
Exec entry with params patch
Hi Stanislav Brabec, It appears from the gnome-desktop.changes file that you own the X-KDE-SubstituteUID.dif file that prepends the gnomesu onto the Exec entry. I am not very familiar with the internals of gnome-desktop and would like your opinion on which would be the better solution so I am temporarily assigning this to you for your input. 1. Prepend a -c before the quoted Exec entry 2. Don't enclose the command line in quotes. I have tried launching the mentioned users.desktop file both ways and they both seem to work. Attached is the modified patch using solution 1. This is not my patch. I have only changed kdesu to gnomesu, but well: 3. Don't enclose the command line in quotes. and prepend a -- before the exec entry. It will prevent problems with quoted arguments and --arguments. Please compare: 1) broken: gnomesu -c "/sbin/yast2 "a b" --sw_single" 2) broken: gnomesu "/sbin/yast2 "a b" --sw_single" 3) works: gnomesu -- /sbin/yast2 "a b" --sw_single Fixed patch submitted for STABLE. I did not yet tested it, but I hope that it works. Tested with users.desktop and it seems to work. |