# Can't mark as executable becuse it's from an untrusted source

**URL:** <https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281>\
**Category:** Using AppImages\
**Created:** [January 14, 2018, 5:15pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281 "2018-01-14T17:15:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kikketer](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/kikketer/32/105_2.png) [@Kikketer](https://discourse.appimage.org/u/Kikketer)\
**Post date:** [January 14, 2018, 5:15pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281/1 "2018-01-14T17:15:06Z")

</div>

I’m using GalliumOS which may be the problem (not appimage) but I’m not sure where to go or who to ask. Every single google search, including this forum, has resulted in failure to run my appimage.

I’m trying to run the Slic3r appimage on my GalliumOS box but I’m not able to switch the executable bit because it’s from an untrusted source. Well I personally trust the source, so I’d like to say “it’s trusted just make it executable” but that option doesn’t seem to exist.

Through the GUI this is what I see, and clicking the checkbox immediately unchecks it.  
 ![](https://canada1.discourse-cdn.com/flex027/uploads/appimage/original/1X/0daf1388353048eb95246943c6cac17159105fe3.png)

When I attempt in the terminal:

```auto
ls -al Slic3r-1.38.5-prusa3d-linux64-full-201712212010.AppImage 
-rw-r--r-- 1 chris chris 14099888 Jan 14 15:33 Slic3r-1.38.5-prusa3d-linux64-full-201712212010.AppImage

sudo chmod +x Slic3r-1.38.5-prusa3d-linux64-full-201712212010.AppImage

ls -al Slic3r-1.38.5-prusa3d-linux64-full-201712212010.AppImage 
-rw-r--r-- 1 chris chris 14099888 Jan 14 15:33 Slic3r-1.38.5-prusa3d-linux64-full-201712212010.AppImage

```

As you can see it had no affect.

Any help around this would be amazing, please help me!

---

<div class="post-metadata">

**Author:** ![Kikketer](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/kikketer/32/105_2.png) [@Kikketer](https://discourse.appimage.org/u/Kikketer)\
**Post date:** [January 16, 2018, 5:17pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281/2 "2018-01-16T17:17:18Z")

</div>

Finally figured out the issue. The images were sitting on a FAT32 external drive. I moved them to a valid linux drive and it worked fine!

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [January 17, 2018, 7:41pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281/3 "2018-01-17T19:41:12Z")

</div>

Probably the FAT32 was mounted with the `noexec` option, preventing any executables on that drive from being executed. In this case, the drive in question needs to be remounted without the `noexec` option.

---

<div class="post-metadata">

**Author:** ![TheAssassin](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/theassassin/32/90_2.png) [@TheAssassin](https://discourse.appimage.org/u/TheAssassin)\
**Post date:** [February 11, 2018, 1:01pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281/4 "2018-02-11T13:01:37Z")

</div>

Might make sense to check the current directory’s mountpoint for such options, to provide users with a useful error message. @Kikketer if you’re interested in this, feel free to create an issue on GitHub.

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [February 12, 2018, 6:26pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281/5 "2018-02-12T18:26:04Z")

</div>

> [@TheAssassin](#):
>
> check the current directory’s mountpoint for such options, to provide users with a useful error message

What code would be able to do this? Can’t be `runtime.c` because that code isn’t going to be executed in exactly those cases.

---

<div class="post-metadata">

**Author:** ![TheAssassin](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/theassassin/32/90_2.png) [@TheAssassin](https://discourse.appimage.org/u/TheAssassin)\
**Post date:** [February 12, 2018, 6:51pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281/6 "2018-02-12T18:51:46Z")

</div>

I’d put such functionality into appimaged. Often, I wish appimaged would inform me about problems. So, I’d start with a “notification” abstraction API (i.e., something that calls the right software on the right platform), and then have appimaged notify the user about events, e.g., “Found new AppImage” or "Cannot mark executable: mounted with `noexec`", etc.

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [February 12, 2018, 6:54pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281/7 "2018-02-12T18:54:13Z")

</div>

Yes, but how would `appimaged` know that the user tried to launch an AppImage on a partition that is mounted `noexec`?

---

<div class="post-metadata">

**Author:** ![TheAssassin](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/theassassin/32/90_2.png) [@TheAssassin](https://discourse.appimage.org/u/TheAssassin)\
**Post date:** [February 12, 2018, 6:55pm UTC](https://discourse.appimage.org/t/cant-mark-as-executable-becuse-its-from-an-untrusted-source/281/8 "2018-02-12T18:55:02Z")

</div>

Check the mountpoints (call `mount`), and compare that with the absolute path of the AppImage.
