Ubuntu: Mark File as Executable

Date: 2014-04-15 |

In some instances, running/compiling files will be blocked by the system to prevent unwanted executions.  The system will block executions of files not marked as “executable” and present the following error message when clicked:

The file ‘DIRECTORY’ is not marked as executable.  If this was downloaded or copied from an untrusted source, it may be dangerous to run.  For more details, read about the executable bit.

Here’s how to circumvent this warning:

  1. Right click on desired file
  2. Properties > Permissions
  3. Check the box next to ‘Execute’

Double-clicking your file should run it without errors

Note: This should only be done to files you are familiar with and trust.  Allowing untrusted sources to run may cause damage to your system/theft of personal information.

Want more like this?

The best / easiest way to support my work is by subscribing for future updates and sharing with your network.