I have three users on my linux system. root, daemonuser, and abeuser.

daemonuser runs bitcoind

abeuser runs ABE

I cannot seem to change the permission of my "blocks" folder so that abeuser can read from it.

I have tried placing the bitcoin data directory in the /opt/ folder and then running the command:

chmod -R +r /opt/bitcoinBlockchain

with no luck.

/opt/bitcoinBlockchain/blocks is always locked to daemonuser and abeuser cannot read anything inside of it.

  • 1
    Doesn't this question belong on the Linux SE? May 9, 2013 at 23:34
  • No, I don't think so, because I have tried numerous times the suggested linux way... and it doesn't work. bitcoind is locking the folder or something, it's a bitcoind problem, not a linux one imho.
    – user3145
    May 12, 2013 at 5:28
  • Coincidentally, I had the same issue yesterday. Very weird. May 12, 2013 at 14:34
  • I am not surprised. I can't figure out what bitcoind is doing to that folder, but it's not adding typically kosher unix permissions that's for sure.
    – user3145
    May 18, 2013 at 2:27

1 Answer 1


You should be able to change the permissions of the block files using the following command:

sudo chmod -R go+r .bitcoin/

(replacing .bitcoin/ with your Bitcoin data directory)

The problem is that bitcoind will create all new files with permissions so that only allow the owner of the files can read from and write to them (600), because of the following line in init.cpp:


I have created a patch and a pull request that should fix this, though: https://github.com/bitcoin/bitcoin/pull/4286

  • For directories "x" mode is also needed, try sudo chmod -R go+rX .bitcoin/. (Capital X sets "x" on direcories only.) Note: the bitcoin data directory contains the wallet.dat, which shoud be kept private. Jun 30, 2017 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.