search cancel

Error 'permission denied' in PREP_PROCESS_FILENAME and file events on AIX

book

Article ID: 88294

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After the upgrade to one of the latest V10 versions (SP6 and above), some customers ran into the following issue on AIX. If they use files events or PREP_PROCESS_FILENAME, they receive errors like:

U2003041 Invalid 'access' call, file name 'filename'. Error code: ('13' - 'Permission denied')

Though it was working in the older Version and the user rights are correct for these directories.


 

Environment

OS: IBM AIX

Resolution

The problem can be solved by using the parameter SwitchToEffUser in the ini-file of the affected agent. It is found in section MISC. Set it to yes:
 
[MISC]
SwitchToEffUser=yes

This parameter isn't in the documentation yet, but as the name of the parameter suggests, it causes the job to use effective user rights for the job.