nigiri
nigiri copied to clipboard
Cannot remove CLN files
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:
$ sudo ls -lah ~/.nigiri/volumes/lightningd/
total 12K
drwxr-xr-x 3 {me} {me} 4.0K Apr 13 19:15 .
drwxr-xr-x 3 {me} {me} 4.0K Apr 13 19:15 ..
drwx------ 2 root root 4.0K Apr 13 19:15 regtest
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).