Created on 11-11-2024 10:33 AM Edited on 11-12-2024 12:00 AM By Jean-Philippe_P
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 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.