<p>Did you make the files in the <code>.bitcoin/blocks/</code> directory readable for Abe? You can test this by logging in as Abe (<code>sudo su abeuser</code> should suffice) and typing <code>strings ~daemonuser/.bitcoin/blocks/any.file</code>.</p>

CC BY-SA 3.0
2013-05-04T15:38:28.277Z
2013-05-04T15:38:28.277Z
Bram Geron
<p>I have two users on my Linux system, <em>daemonuser</em>, which runs bitcoind and <em>abeuser</em>, which runs Abe.</p>

<p>Whenever I start Abe, I am told:</p>

<blockquote>
  <p>Skipping datadir /home/daemonuser/.bitcoin/blocks: [Errno 13]
  Permission denied: '/home/daemonuser/.bitcoin/blocks/blk0001.dat'</p>
</blockquote>

<p>Even after adding <em>abeuser</em> as a readable user on the /home/daemonuser/.bitcoin/blocks/ directory.</p>

<p>Would it be easier to keep bitcoin's blockdata in a public folder and read it from there for Abe's purposes?</p>

CC BY-SA 3.0
2013-05-04T05:02:01.553Z
That's for windows :S And bitcoinqt. Does the same work on bitcoind on linux? If so, awesome!
user3145
CC BY-SA 3.0
2013-05-04T13:39:27.833Z
Bitcoind is exactly the same codebase as Bitcoin-Qt, only compiled without GUI. There's very little difference between the versions for different OS'es too. One notable exception is the location of the standard datadir.
Pieter Wuille
CC BY-SA 3.0
2014-08-01T12:32:40.650Z
Asking about how to change the default storage location has been posted many, many times. The future canonical question is probably *[Bitcoin-Qt setup: Change block-chain file location, settings? documentation?](http://bitcoin.stackexchange.com/questions/9259)*. Possible duplicate of *[Bitcoin-Qt setup: Change block-chain file location, settings? documentation?](http://bitcoin.stackexchange.com/questions/9259)*.
Peter Mortensen
<blockchain><bitcoind><full-node>
Can I change the bitcoin block-data directory from /home/user/.bitcoin/blocks to something else?
user3145
# Can I change the bitcoin block-data directory from /home/user/.bitcoin/blocks to something else?

(Asked by: username_0 on 2013-05-04)

I have two users on my Linux system, *daemonuser*, which runs bitcoind and *abeuser*, which runs Abe.

Whenever I start Abe, I am told:

> Skipping datadir /home/daemonuser/.bitcoin/blocks: [Errno 13]
> Permission denied: '/home/daemonuser/.bitcoin/blocks/blk0001.dat'

Even after adding *abeuser* as a readable user on the /home/daemonuser/.bitcoin/blocks/ directory.

Would it be easier to keep bitcoin's blockdata in a public folder and read it from there for Abe's purposes?

**Tags:** blockchain, bitcoind, full-node

> **Comments:**
> **username_0**: That's for windows :S And bitcoinqt. Does the same work on bitcoind on linux? If so, awesome!  
> **username_1**: Bitcoind is exactly the same codebase as Bitcoin-Qt, only compiled without GUI. There's very little difference between the versions for different OS'es too. One notable exception is the location of the standard datadir.  
> **username_2**: Asking about how to change the default storage location has been posted many, many times. The future canonical question is probably *[Bitcoin-Qt setup: Change block-chain file location, settings? documentation?](http://bitcoin.stackexchange.com/questions/9259)*. Possible duplicate of *[Bitcoin-Qt setup: Change block-chain file location, settings? documentation?](http://bitcoin.stackexchange.com/questions/9259)*.  

---

## 1 answers

### Answer by username_3 on 2013-05-04. Score: 1

Did you make the files in the `.bitcoin/blocks/` directory readable for Abe? You can test this by logging in as Abe (`sudo su abeuser` should suffice) and typing `strings ~daemonuser/.bitcoin/blocks/any.file`.


---

