[AMAGENTS-1310] When we install the agent manually on Ubuntu Apache, the installer does not change permissions on the agent files Created: 27/Nov/17  Updated: 21/Sep/18

Status: Open
Project: OpenAM Agents
Component/s: Web Agents
Affects Version/s: 5.0.0.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: edwardb Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: AME, Should-Fix, release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu14.0.4 apache 22


Target Version/s:

 Description   

The installer does not change the permissions on the agent files when we install

web-agents-5.0.0-M19-Apache_v22_Linux_64bit.zip

To recreate:

1) Set up Openam
2) Download the agent and install using cli
3) Start Apache

When we try to start Apache it fails. The problem is that the permissions for the agent conf file does not get set properly since the installer does not recognise that the User and Group are set by environmental variables.

Work-around is to set the permissions on the conf file file manually.

# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

Generated at Tue May 11 07:45:25 UTC 2021 using Jira 8.16.0#816000-sha1:a455b91378454416b49bbc88d03e653cb9815ed5.