I am facing the same issue while using OS Command in ORACLE LINUX platform.
I am using the command as ls -1 /home/oracle/data > /home/oracle/data/All_FILES_NAMES.txt
Its working in terminal, But not in ODI procedure. How to set
Its throwing error as 'wrong process return code-2'.
Kindly help me toset file permission.