API Gateway: modstaging is not writable by the Gateway Process
search cancel

API Gateway: modstaging is not writable by the Gateway Process

book

Article ID: 189571

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When attempting to upload a custom or tactical assertion via the Policy Manager you receive the below error


Configured Staging Directory "/opt/SecureSpan/Gateway/node/default/var/modstaging" not writable by the Gateway Process

Environment

Release : 9.X 10.X 11.X

Component : API GATEWAY

Cause

The issue is caused by improper permissions and/or ownership for the modstaging folder

Resolution

To correct this problem

1) SSH to the Gateway
2) Navigate to /opt/SecureSpan/Gateway/node/default/var
3) run ls -al
    to confirm the permissions and ownership of the folder they should match the below

    drwxrwxr-x  2 gateway layer7 

4) If the permissions or ownership is incorrect, run the below commands

# chown gateway:layer7 modstaging
# chmod 775 modstaging