Troubleshooting Tip: How to solve PermissionError: [Errno 13] Permission denied error from ssl_cyops_api_access.log
| Description | This article describes the issue when the following error is thrown in /var/log/cyops/cyops-api logs:
PermissionError: [Errno 13] Permission denied |
| Scope | FortiSOAR. |
| Solution | These errors are usually observed from the following path below:
Identify the path directory that is affected by PermissionError: [Errno 13] Permission denied, and set the permission back to the correct permissions.
Error Example:
Nov 11 11:58:08 soar bash(22007]: PermissionError: [Errno 13] Permission denied: "/usr/local/lib/python3.9/site-packages/ConfigArgParse-1.7.dist-info' Nov 11 11:58:08 soar bash [22008]: PermissionError: [Errno 13] Permission denied: "/usr/local/lib/python3.9/site-packages/ConfigArgParse-1.7.dist-info
Nov 11 11:59:11 soar bash(22007]: PermissionError: [Errno 13] Permission denied: "/usr/local/lib/python3.9/site-packages/ConfigArgParse-1.7.dist-info' Nov 11 11:58:08 soar bash [22008]: PermissionError: [Errno 13] Permission denied: "/usr/local/lib/python3.9/site-packages/ConfigArgParse-1.7.dist-info
To resolve the issue:
chmod -R 755 /usr/local/lib/python3.9/site-packages
csadm services --restart |
