If the UID for a user on your server changes then you may see permissions issues in AEN. You may see that all of the apps in your projects such as Workbench, Terminal and Notebook will not open. You may also see this error in your logs:
"KeyError: 'getpwuid(): uid not found: 00000’”
In this case 00000 being the old UID.
If the UID for a user has changed first check to see what is the user's the current UID. You can do this by running:
You may also want to check to see what files are still owned by this old UID. You can run a find command to look for these files:
find /projects -uid 00000
find /opt/wakari -uid 00000
You may need to change the folder structure to where your /projects folder or wakari installation is on your server.
To fix the permissions you can run the following commands. Again, remember to edit with respect to where your /projects directory lives:
chown -R username:username /projects/username
setfacl -m u:username:rwx -R /projects/username
setfacl -m d:u:username:rwx -R /projects/username/*
And then remove the ACLs for the old UID by running the following commands:
setfacl -x user:00000 -R /projects/username
setfacl -x user:00000 -R /opt/wakari