search cancel

API Gateway: modstaging is not writable by the Gateway Process

book

Article ID: 189571

calendar_today

Updated On:

Products

CA API Gateway API SECURITY STARTER PACK-7 CA Microgateway

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

Cause

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

Environment

Release : 9.2

Component : API GATEWAY

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