# Make mender-artifact permission dnied

**URL:** <https://hub.mender.io/t/make-mender-artifact-permission-dnied/6110>\
**Category:** General Discussions\
**Created:** [August 16, 2023, 6:23am UTC](https://hub.mender.io/t/make-mender-artifact-permission-dnied/6110 "2023-08-16T06:23:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbaer](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@fbaer](https://hub.mender.io/u/fbaer)\
**Post date:** [August 16, 2023, 6:23am UTC](https://hub.mender.io/t/make-mender-artifact-permission-dnied/6110/1 "2023-08-16T06:23:03Z")

</div>

Hello Everyone,  
I was trying to create a mender-artifact on my raspberrypi4. Since i tried to create it from source i was following [GitHub - mendersoftware/mender-artifact: Library for managing Mender artifact files](https://github.com/mendersoftware/mender-artifact) → Building from Source → Native. I installed everything and it seems all ok but when i use the `make` command i get this Error-message and i don’t know if it belongs to mender or someone else.

```auto
github.com/mendersoftware/mender-artifact: go build github.com/mendersoftware/mender-artifact: copying /tmp/go-build967728089/b001/exe/a.out: open mender-artifact: permission denied
make: *** [Makefile:41: build] Error 1

```

Being grateful for any kind of help  
Kind Regards

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [August 17, 2023, 9:29am UTC](https://hub.mender.io/t/make-mender-artifact-permission-dnied/6110/2 "2023-08-17T09:29:56Z")

</div>

Hi @fbaer,

That actually looks strange. Which Linux distribution are you trying this on? Default user?

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![fbaer](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@fbaer](https://hub.mender.io/u/fbaer)\
**Post date:** [September 11, 2023, 5:41am UTC](https://hub.mender.io/t/make-mender-artifact-permission-dnied/6110/3 "2023-09-11T05:41:35Z")

</div>

Sorry for the extremely late reply.  
I found the error. Cause of lack of volume space on root i installed it elsewhere. So when i’m using the command make i don’t got the correct rights, but it’s using the correct path. If i’m using `sudo make` i got the correct rights but its using the default path and since i put it somewhere different it doesn’t find the make file.  
For Confirmation i changed the rights of the directory with chmod and then was able to run everything.

Kind Regards
