FortiSOAR Knowledge Base
FortiSOAR: Security Orchestration and Response software provides innovative case management, automation, and orchestration. It pulls together all of an organization's tools, helps unify operations, and reduce alert fatigue, context switching, and the mean time to respond to incidents.
calvinc97
Staff
Staff
Article Id 356780
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:

  • /var/logs/cyops/cyops-api/ssl_cyops_api_access.log.
  • /var/logs/cyops/cyops-api/ssl_cyops_api_api.log.

 

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:

 

  1. Login to the FortiSOAR VM and switch to the 'root' user: sudo su.
  2. Run the following commands below to modify the permissions.

chmod -R 755 /usr/local/lib/python3.9/site-packages

 

  1. Run the following commands to restart the FortiSOAR services.

csadm services --restart