Cannot associate executable script with file type when spaces in directory name

Bug #1194284 reported by Cefn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcmanfm (Ubuntu)
New
Undecided
Unassigned

Bug Description

If you browse to an executable script and try to associate it with a specific file type (in my case application/pdf) it populates the 'customise' box with an incorrect path (without escaping) where the path has spaces, and maybe where it has any special characters.

On submission, it then silently fails to make the proper association, and when relaunching the file association wizard, no change has been made.

Manually adding the escaping of spaces (add a backslash before each space) is a workaround for this bug.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: pcmanfm 1.1.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
Uname: Linux 3.8.0-26-generic i686
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: i386
Config_pcmanfm_System_Lubuntu: Error: [Errno 2] No such file or directory: '/etc/xdg/pcmanfm/lubuntu.conf'
Date: Mon Jun 24 21:53:45 2013
MarkForUpload: True
Pref_Config_System_Lubuntu:
 [Preferred Applications]
 WebBrowser=firefox.desktop
 MailClient=
SourcePackage: pcmanfm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.