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