Getting permission denied error for the deployments
search cancel

Getting permission denied error for the deployments

book

Article ID: 408303

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

After upgrading the agent from 6.6 to 6.9, getting below errors:

Failed to complete deletion of files under path [/apps/tomcat/XXXX/webapps/XXXXX].

Validation Failed:
The executing user does not have read permissions for file/folder [/apps/tomcat/XXXX/webapps/XXXXX].
The executing user does not have write permissions for file/folder [/apps/tomcat/XXXX/webapps/XXXXX].
The executing user does not have execute permissions for file/folder [/apps/tomcat/XXXX/webapps/XXXXX].

Environment

Nolio Release Automation 6.9

Cause

Identified that the user A being used to access the tomcat folder paths was different from the user B that was executing the Nolio agent services and actions.

Found that these users not having access to each other's locations which was causing this permission issue. 

This started to happen on these two machines only because of the Tomcat upgrade that introduced the change in the user for Tomcat folder. Earlier it was the same user as B.

Resolution

Provide the A user with Read, Write and Execute permissions on the NolioAgent folders on both the machines and update the deployer_configuration.sh file to use A as the user to run Nolio services.