bugGKSu - Bugs: bug #27129, nautilus-gksu fails to run MIME...

 
 

bug #27129: nautilus-gksu fails to run MIME handlers with parameters

Submitter:  None
Submitted:  Tue 28 Jul 2009 06:28:48 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 28 Jul 2009 06:28:48 PM UTC, original submission:  

nautilus-gksu incorrectly invokes MIME handlers with commandline parameters. This includes opening folders in Nautilus with special options - and it is so in a default GNOME installation, --no-desktop parameter is passed.
How to reproduce:
0. Pre-requisites: an ordinary GNOME session, nautilus-gksu-2.0.2 is installed
1. Switch off Nautilus desktop in GNOME (i.e., switch off the GConf key /apps/nautilus/preferences/show_desktop). Icons on your desktop should disappear.
2. Make sure no Nautilus processes run.
3. Now run Nautilus: nautilus --no-desktop
4. Pick some directory/folder and 'Open as administrator' it. Type the password as requested by gksu.
5. Nautilus window opens and(!) a Nautilus desktop activates (icons appear and even the background may change, according to root's preferences).
The cause of the problem is using g_app_info_get_executable() instead of g_app_info_get_commandline(). The attached patch fixes things.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2009-07-28 None Attached File- Added nautilus-gksu-2.0.2-fix-handler-invocation.patch, #18483

Back to the top

Powered by Savane 3.13-cf05.
Corresponding source code