# Cardano-node lock: openFd: permission denied

**URL:** <https://forum.cardano.org/t/cardano-node-lock-openfd-permission-denied/63576>\
**Category:** Setup a Stake Pool\
**Created:** [31 May 2021 16:27 UTC](https://forum.cardano.org/t/cardano-node-lock-openfd-permission-denied/63576 "2021-05-31T16:27:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![laplasz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/laplasz/32/15238_2.png) [@laplasz](https://forum.cardano.org/u/laplasz)\
**Post date:** [1 June 2021 13:08 UTC](https://forum.cardano.org/t/cardano-node-lock-openfd-permission-denied/63576/7 "2021-06-01T13:08:55Z")

</div>

the real problem is that db folder has different owner, related topic:

> [@Cardano-node: Missing protocolMagicId](https://forum.cardano.org/t/cardano-node-missing-protocolmagicid/63587/19):
>
> yes - I dont know where this cardano user came from, but you can modify the ownership the folder by: sudo chown -R alberto:alberto /home/cardano/cnode WAIT! just realized then you are operating everything in home folder of cardano user… probably better to switch the user to cardano from alberto!

---

_[View the full topic](https://forum.cardano.org/t/cardano-node-lock-openfd-permission-denied/63576)._
