ordinals / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
3.85k stars 1.38k forks source link

Deploy script: chown at correct spot #3969

Closed raphjaph closed 1 month ago

casey commented 1 month ago

Is this the right spot? I think when I ran it, bitcoind --version was what created the settings.json file with the wrong permissions, since it's running as the root user.

I think what we should actually do is instead is run bitcoind as the correct user, so the permissions don't get fucked up in the first place:

sudo -u bitcoin bitcoind -conf=/etc/bitcoin/bitcoin.conf --version