Profesor_Ig - I'm having trouble starting the s...

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
Solution:
solution:
chown lldap:lldap /etc/lldap.toml
chown lldap:lldap /etc/lldap.toml
Jump to solution
11 Replies
nitnelave
nitnelave6mo ago
Even if you chmod 777?
Profesor_Ig
Profesor_IgOP6mo ago
hmm... 777 worked. Obviously I can't keep it like that. Original permission was 640 lets try 750...
nitnelave
nitnelave6mo ago
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
Profesor_Ig
Profesor_IgOP6mo ago
root and
sudo systemctl start lldap
sudo systemctl start lldap
, as user 751 works so it's group execute that gets it working
nitnelave
nitnelave6mo ago
Right, but the LLDAP service description has a user
Profesor_Ig
Profesor_IgOP6mo ago
ah
nitnelave
nitnelave6mo ago
It's not running as root
Profesor_Ig
Profesor_IgOP6mo ago
yep, ok, the package installs with /etc/lldap.toml belonging to root user
Solution
Profesor_Ig
Profesor_Ig6mo ago
solution:
chown lldap:lldap /etc/lldap.toml
chown lldap:lldap /etc/lldap.toml
nitnelave
nitnelave6mo ago
The permissions should probably be 600 You don't want anything (other than yourself as root) modifying the file
Profesor_Ig
Profesor_IgOP6mo ago
thnx
Want results from more Discord servers?
Add your server