# Error: EACCES: permission denied

**URL:** <https://discourse.joplinapp.org/t/error-eacces-permission-denied/24436>\
**Category:** Support\
**Created:** [15 March 2022 17:23 UTC](https://discourse.joplinapp.org/t/error-eacces-permission-denied/24436 "2022-03-15T17:23:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shadow-Fade](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/shadow-fade/32/13130_2.png) [@Shadow-Fade](https://discourse.joplinapp.org/u/Shadow-Fade)\
**Post date:** [15 March 2022 17:23 UTC](https://discourse.joplinapp.org/t/error-eacces-permission-denied/24436/1 "2022-03-15T17:23:07Z")

</div>

I'm trying to install Joplin version 2.7.14 on my M1 mac,but I keep getting this error.

Fatal error  
\*\*EACCES: permission denied, mkdir '/Users/myname/.config/joplin-desktop'

Error: EACCES: permission denied, mkdir '/Users/myname/.config/joplin-desktop'\*\*

I tried changing the permission ,but I'm still getting this error. I also tried different things that was posted in the Joplin forum and still didn't fix the issue. If you can help me, it would be great

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [15 March 2022 19:14 UTC](https://discourse.joplinapp.org/t/error-eacces-permission-denied/24436/2 "2022-03-15T19:14:38Z")

</div>

What exactly have you done?

Did you change the owner of `Users/myname/.config/` from root to your user?

---

<div class="post-metadata">

**Author:** ![Shadow-Fade](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/shadow-fade/32/13130_2.png) [@Shadow-Fade](https://discourse.joplinapp.org/u/Shadow-Fade)\
**Post date:** [15 March 2022 19:42 UTC](https://discourse.joplinapp.org/t/error-eacces-permission-denied/24436/3 "2022-03-15T19:42:55Z")

</div>

After trying many different commands, I finally got it to work in my Mac terminal. This issue arises when the .config doesn't have access permission to the home directory and instead it recognize it as root permission. This is what I recommend doing if you had to deal with this issue.

1-Make sure you are in home directory. You can do that by using **cd~** command and then **pwd** command to show you the home directory. Home directory is in the form of **/Users/yourname or /Users/username**.

2- Afterwards, you can use the command below to change the ownership of .config form the root to the user.  
Command is: **sudo chown username: /Users/username/.config**

\*\*Remember to replace the username with your own Mac's username by using step 1.

3- Enter your password.

4- That's it. Try opening the Joplin executable file. That should work.

I hope this help 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [14 April 2022 19:43 UTC](https://discourse.joplinapp.org/t/error-eacces-permission-denied/24436/4 "2022-04-14T19:43:14Z")

</div>

Closed on 14 April 2022 19:43 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
