Skip to Content

Error: Could not read configuration

How to fix Error : Could not read configuration



This error message is encountered when the parent directory has incorrect executable permissions.

Check all the permissions in following directory by running the below command:

root@gateway:~# ls -ald /usr/local/etc/ezlogin /usr/local/etc /usr/local /usr/

Run this command to correct the permissions:

root@gateway:~# chmod 751 /usr/local/etc/ezlogin /usr/local/etc /usr/local /usr/

Following is the correct executable permissions to be placed: 

root@gateway:~# drwxr-x--x 14 root root 4096 Oct 7 2022 /usr/
root@gateway:~# drwxr-x--x 13 root root 4096 Jun 20 22:53 /usr/local
root@gateway:~# drwxr-x--x 3 root root 4096 Oct 7 2022 /usr/local/etc
root@gateway:~# drwxr-x--x 2 admin ezuser 4096 Apr 5 16:43 /usr/local/etc/ezlogin