Open gcomte opened 1 year ago
I have seen a similar issue. I'd like to delete my custom nigiri datadir and start fresh each time I test using regtest. The volumes/bitcoin/regtest similarly is owned by root.
I see there is a comment in docker-compose.yml
# wildcard user 0:0 to avoid permission problems
Unfortunately, Blockstream is not very interested in maintaining a sane official CLN docker image that works nicely, and neither I do, cause there is very little support in anything they do. It took me 2 weeks of battle to integrate compared to LND, I still have nightmares.
I accept contributions 🙏
When I run the command
nigiri stop --delete
on my Linux, I get the following error:[nigiri] openfdat /home/{me}/.nigiri/volumes/lightningd/regtest: permission denied
The problem is that the regtest data is given access to
root
only:I do not have the same issue with LND.
Why could that be? I see that LND has a user defined in the docker-compose.yml, which CLN does not. But other containers don't have that either (
electrs
for example).