Question of the Day: Automatically Setting Downloaded Executables +x?

Written By
Web Webster
Web Webster
May 24, 2001

Miguel de Icaza posed an interesting question on Nautilus-list
centered around downloading executables from the net, which often
don’t have their execute bit set: “I would like to suggest that we
set this bit manually if the user double clicks on a file that
happens to have an a.out or ELF signature. Maybe we could popup a
warning or something, but the result should be that files
downloaded in this way would just work.”

The
ensuing discussion
has been interesting, centered around the
balance between usability and security. We don’t encourage people
to crash the Nautilus list if they aren’t planning on contributing
to the project, but it’s a question worth considering for anyone
interested in this sort of thing (and you’re welcome to use our
talkbacks.)

His complete message:

Currently when people download executables from the network, say for
installing software, they can not execute them because the execute bit
is not set.

So typical installation instructions for a Unix application look like
this:

        1. Click on this link to download.
        2. Run a shell
        3. type chmod +x file
        4. Run

Ideally, we want to avoid this problem in GNOME, and we just want
executables to just work.  As they do in Windows.  

So I would like to suggest that we set this bit manually if the user
double clicks on a file that happens to have an a.out or ELF
signature.  Maybe we could popup a warning or something, but the
result should be that files downloaded in this way would just work.

Comments?

Miguel.
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.