Environment
Situation
This article describes steps that will be necessary to ensure that post-conversion scripts scheduled to run properly on the target server during the Post Conversion Actions step.
Because Linux file systems allow different characters in file names, and because Linux file systems support different ACL (Access Control List) permissions than Windows, therefore special care should be taken when creating post conversion scripts.
Resolution
2) Once the Action is deemed to work correctly, use tar (or a similar tool) to amalgamate the Action's directory structure into one file.
cd /tmp
tar -czvf NewAction.tgz /path/to/Action/Action_Folder/
* This will create a single file NewAction.tgz containing all files contained in the folder Action_Folder. The permissions of the files contained will be preserved.
4) Create a new custom post conversion Action, that will extract the tgz file.
#!/bin/sh
/bin/tar -xvzf NewAction.tgz
#Exec the main executable / script in the NewAction folder
Action_Folder/Action_script.sh