Open MateuSai opened 1 day ago
Either a SELinux or a systemd service file having too many restrictions active. There were similar reports in the past, please check closed issues, discussions and Wiki
None of the closed issues or wiki helped me. I fixed it adding StateDirectory=radicale
at the service file. I don't know if I'm the only one with that problem, shouldn't systemd behave the same way on all systems?
Anyway, it's working now,, thanks for making radicale and for the answer.
Hi, I installed Radicale from apt. I followed the documentation, the configuration is basically the default:
To run radicale I'm using the systemctl service, which installed automatically when I installed radicale using apt. The service runs radicale with the radicale user. I could not access the web server because of the error "[ERROR] An exception occurred during GET request on '/.web/': [Errno 13] Permission denied: '/var/lib/radicale/collections/.Radicale.lock'", which I fixed changing the owner of that file to radicale:radicale.
But now I'm getting the same error when I try to load or create an address book:
If instead of the service, I execute radicale with
sudo radicale
it works correctly, so for some reason the user radicale can't access the files on the collections directory. Any idea how I can fix that?