Shell Script Permission Denied

Discussion in 'OS X El Capitan (10.11)' started by thesheleys, Jan 28, 2016.

  1. thesheleys macrumors member

    Joined:
    Oct 3, 2008
    #1
    I am running KMTTG as a Launch Daemon to pull my Tivo recordings down to my Mac. Everything works great until it gets to the step where it removes the commercials. It runs a Shell Script that is a different name each time it is created and it fails with a Permission Denied error. Any thoughts on how to get around this? I have included the log from KMTTG below. Thanks!


    2016_01_28_08:43:12 NOTE: tivolibre job completed: 0:01:18
    2016_01_28_08:43:12 ---DONE--- job=tivolibre output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg
    2016_01_28_08:43:12 (Deleted file: /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo)
    2016_01_28_08:43:14 >> Running comskip on /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg ...
    2016_01_28_08:43:14 /Applications/kmttg_v2/comskip/comskip --ini /Applications/kmttg_v2/comskip/comskip.ini "/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg"
    2016_01_28_08:48:25 NOTE: comskip job completed: 0:05:11
    2016_01_28_08:48:25 ---DONE--- job=comskip output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.edl
    2016_01_28_08:48:27 >> Running ffcut on /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg ...
    2016_01_28_08:48:27 ERROR: Failed to start command: /Applications/kmttg_v2/ffcut6235887937513498790.sh
    2016_01_28_08:48:27 ERROR: Cannot run program "/Applications/kmttg_v2/ffcut6235887937513498790.sh": error=13, Permission denied
     
  2. dyn macrumors 68030

    Joined:
    Aug 8, 2009
    Location:
    .nl
    #2
    Set the correct file permissions before running it?
     
  3. thesheleys thread starter macrumors member

    Joined:
    Oct 3, 2008

Share This Page