! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar doesn't recognize executable binaries if they have the extension .bin
Status:
RESOLVED: MOVED

Comments

Description qptain Nemo 2016-01-02 23:48:55 CET
Thunar doesn't acknowledge a valid executable binary as such if it has the extension .bin. 

I.e. it shows its type as "unknown?, doesn't provide the option to execute it and doesn't even display the executable attribute in the properties. That's despite it being a valid executable with the executable attribute set. Renaming the file and removing the .bin extension immediately fixes the problem, the icon becomes that of an executable file, the option to execute appears as well as the option to toggle the executable attribute in the properties.
Comment 1 Theo Linkspfeifer editbugs 2019-06-25 21:55:48 CEST
$ gio info memtest86+.bin | grep "content-type"
  standard::content-type: application/x-sega-cd-rom
  standard::fast-content-type: application/x-sega-cd-rom

This does not look right. However, the issue with the missing option is addressed in bug 15605.

*** This bug has been marked as a duplicate of bug 15605 ***
Comment 2 Theo Linkspfeifer editbugs 2019-06-25 22:06:49 CEST
$ gio info memtest86+ | grep "content-type"
  standard::content-type: application/octet-stream
  standard::fast-content-type: application/octet-stream

Thunar 1.8.6 reports "unknown" in this case, so there is something that needs to be fixed additionally.
Comment 3 Theo Linkspfeifer editbugs 2019-06-26 11:25:40 CEST
https://developer.gnome.org/gio/stable/gio-GContentType.html#g-content-type-is-unknown

The description is actually accurate and the mimetype is shown in the (rather hidden) tooltip.

Nautilus displays this:
Binary (application/octet-stream)

and if the file is executable:
Program (application/octet-stream)
Comment 4 Git Bot editbugs 2020-05-26 23:25:18 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/126.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #12388

Reported by:
qptain Nemo
Reported on: 2016-01-02
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
1.6.10

Attachments

Additional information