Thunar doesn't allow setting executable bit on files it does not recognize as executable.

Bug #1256103 reported by Carsten Holzmüller
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
thunar (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

I can't set the execution right for *.jar files in thunar. It works for *.sh files.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: thunar 1.6.3-1ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Thu Nov 28 21:12:02 2013
InstallationDate: Installed on 2012-10-23 (401 days ago)
InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
MarkForUpload: True
SourcePackage: thunar
UpgradeStatus: Upgraded to saucy on 2013-11-27 (0 days ago)

Revision history for this message
Carsten Holzmüller (carsten-holzmueller-q) wrote :
Revision history for this message
Langer Alexey (langer-alexey) wrote :

I confirm the problem. A similar error. To solve had to add in the "Configure custom actions" item "chmod +x %F".
DistroRelease: Ubuntu 14.04
Package: thunar 1.6.3-1ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Apr 12 19:06:29 2014
InstallationDate: Installed on 2014-03-18 (24 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140225)
SourcePackage: thunar

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

Thunar uses the system mimetypes to try to determine if a file is an executable type (program binaries, shell scripts etc). If the file is not in the list then the executable bit property will not be shown in properties. This is a design decision so you'd need to take it up with Xfce upstream.

Changed in thunar (Ubuntu):
status: New → Opinion
Revision history for this message
Alistair Buxton (a-j-buxton) wrote :
summary: - Execution right for JAR files
+ Thunar doesn't allow setting executable bit on files it does not
+ recognize as executable.
Revision history for this message
Benitron (benlarcher-1) wrote :

I am not into stuff such as Minecraft, but not having it on a right click is a pity...

I work in a NGO giving computers running under GNU/Linux and most of the people never use a terminal.

GUI has improved a lot. One of the reason of a bad reputation of Linux, that' it was just for geeks and that you have to use a terminal all the time... Nowadays, it's a legend for the common tasks. Another bad reputation Linux had was about playing games. It greatly improved, but there are still a lot of games you have to download from the websites with a jar extension.

Nautilus can with a right click / permission be marked as an executable. I prefer Thunar and don't understand why it is not possible.
Here is my opinion ;)

Anyway, thanks to all the devs working on Thunar, you do a great job !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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