Unix Agent encounters permission denied errors during a MFT.

Document ID : KB000087727
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Error code: ('13' - 'Permission denied')

Unix Agent in previous versions encounters 'Permission denied' errors during a Managed File Transfer (MFT).

This problem occurs when files are transferred that are located in a directory structure where different directories belong to different unprivileged users. 

Investigation

A problematic directory structure could look like this: 
drwxr-xr-x 15 userA prog 4096 Nov 24 11:25 /users/dev/userA 
drwx------ 3 userB users 4096 Nov 24 12:12 /users/dev/userA/userB 
drwxr-xr-x 2 userB users 4096 Nov 24 11:31 /users/dev/userA/userB/dir 
-rw-r--r-- 1 userB users 6 Nov 24 12:03 /users/dev/userA/userB/dir/text.txt

The Agent trace (TCP=9) will show errors similar to these:
==> the Agent fails at: 
MAIN-THREAD 20161012/080812.651 FileHandler get user 'uc4_barmer_test' home directory
MAIN-THREAD 20161012/080812.652 FT_Dir result 2003041 from FileHandler() call
MAIN-THREAD 20161012/080812.652 U2003041 Invalid 'access' call, file name '/app/uc4_barmer_test/bin/'. Error code: ('13' - 'Permission denied')
Environment:
OS: Linux
Cause:
Cause type:
Defect
Root Cause: Unix agent runs into permission-denied problems during an MFT when files are transferred which are located in a directory structure where different directories belong to different unprivileged users.
Resolution:
Update to a fix version listed below or a newer version if available.

 

Fix Status: Released

Fix Version(s):
Component(s): Unix Agent

Automation Engine 12.0.1 - Available
Automation Engine 11.2.4 – Available
Automation Engine 10.0.8 HF5 – Available
Additional Information:
Workaround :
N/A