# What is causing this error? (FsInsufficientPermissions)

**URL:** <https://forum.cardano.org/t/what-is-causing-this-error-fsinsufficientpermissions/36248>\
**Category:** Operate a Stake Pool\
**Tags:** haskell, cardano-node\
**Created:** [23 July 2020 14:42 UTC](https://forum.cardano.org/t/what-is-causing-this-error-fsinsufficientpermissions/36248 "2020-07-23T14:42:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmad\_Khan](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ahmad_khan/32/19973_2.png) [@Ahmad\_Khan](https://forum.cardano.org/u/Ahmad_Khan)\
**Post date:** [23 July 2020 14:42 UTC](https://forum.cardano.org/t/what-is-causing-this-error-fsinsufficientpermissions/36248/1 "2020-07-23T14:42:06Z")

</div>

cardano-node: FsInsufficientPermissions for /home/eddymak/cardano-node/relay/db: Permission denied at CallStack (from HasCallStack):

---

<div class="post-metadata">

**Author:** ![adatainment](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adatainment/32/81481_2.png) [@adatainment](https://forum.cardano.org/u/adatainment)\
**Post date:** [23 July 2020 15:59 UTC](https://forum.cardano.org/t/what-is-causing-this-error-fsinsufficientpermissions/36248/2 "2020-07-23T15:59:24Z")

</div>

Hello and welcome to the forum,  
could it be that you do not have write access to “/home/eddymak/cardano-node/relay/db”?

---

<div class="post-metadata">

**Author:** ![Ahmad\_Khan](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ahmad_khan/32/19973_2.png) [@Ahmad\_Khan](https://forum.cardano.org/u/Ahmad_Khan)\
**Post date:** [25 July 2020 14:00 UTC](https://forum.cardano.org/t/what-is-causing-this-error-fsinsufficientpermissions/36248/3 "2020-07-25T14:00:32Z")

</div>

hey , Yes Thanks that was the permission rights error.

It was resolved.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![veeryogastudio](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/veeryogastudio/32/20851_2.png) [@veeryogastudio](https://forum.cardano.org/u/veeryogastudio)\
**Post date:** [17 August 2020 04:22 UTC](https://forum.cardano.org/t/what-is-causing-this-error-fsinsufficientpermissions/36248/4 "2020-08-17T04:22:06Z")

</div>

Hi,  
I am facing the same problem. I am using aws, I am new to all this. How can I have write access to /db??

---

<div class="post-metadata">

**Author:** ![Mextro](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mextro/32/26342_2.png) [@Mextro](https://forum.cardano.org/u/Mextro)\
**Post date:** [10 March 2021 11:27 UTC](https://forum.cardano.org/t/what-is-causing-this-error-fsinsufficientpermissions/36248/5 "2021-03-10T11:27:44Z")

</div>

> sudo chmod -R 777 db

is what I used, but I can’t guarantee this is the proper permission for it. Ill update once I find ou but for some reason people aren’t willing to answer my questions. Cardano stakepool is giving off By Advanced For Advanced Vibes

---

<div class="post-metadata">

**Author:** ![Thomas\_tAda](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/thomas_tada/32/52038_2.png) [@Thomas\_tAda](https://forum.cardano.org/u/Thomas_tAda)\
**Post date:** [8 March 2022 22:44 UTC](https://forum.cardano.org/t/what-is-causing-this-error-fsinsufficientpermissions/36248/6 "2022-03-08T22:44:11Z")

</div>

777 will give every user permissions, you may want to restrict it just to root (assuming root ownership) with:

```auto
sudo chmod 700 /path/to/db

```

Also, to ensure root has ownership (best to be safe) you can run this first:

```auto
sudo chown root:root /path/to/db

```

adatainment was spot on though, the file system permissions error provides the key to solving this issue.

```auto
FsInsufficientPermissions

```
