Yeah I was a little worried that may be an issue. It's the data directory $HOME/.local/share

https://docs.rs/dirs/4.0.0/dirs/fn.data_dir.html

Reply to this note

Please Login to reply.

Discussion

which is /.local/share… here. I think the $HOME part is not working. I’m on freebsd. also created the file in that place and it seems not to write to it. but at least the permission errors are gone

Not sure about freebsd. I'm adding an option so you can set the path in the config

my last last_pay_index file isn’t changing, even after a successful zap. also can’t see it increasing anywhere in the code