https://github.com/lldap/lldap logo
Profesor_Ig - I'm having trouble starting the s...
# troubleshooting
p
I'm having trouble starting the service installed from AUR for Arch. The logs are showing "Error: Permission denied (os error 13) in /etc/lldap.toml TOML file", but the permissions don't seem to matter. Even if I change them, same error
a
message has been deleted
n
Even if you chmod 777?
p
hmm... 777 worked. Obviously I can't keep it like that. Original permission was 640
lets try 750...
n
Then it's an ownership problem. Who's the user running the LLDAP service?
Make sure it's the same as the config file owner
p
root
and
Copy code
sudo systemctl start lldap
, as user
751 works
so it's group execute that gets it working
n
Right, but the LLDAP service description has a user
p
ah
n
It's not running as root
p
yep, ok, the package installs with /etc/lldap.toml belonging to root user
solution:
Copy code
chown lldap:lldap /etc/lldap.toml
n
The permissions should probably be 600
You don't want anything (other than yourself as root) modifying the file
p
thnx