Menu

FFCut Shell scrip Permission Denied on OS X

2016-01-28
2016-01-28
  • Todd Sheley

    Todd Sheley - 2016-01-28

    I am trying to run the Auto Transfers and have everything setup to run on startup. Everything works well but when it tries to do the FFCUT to remove commercials I get a Permission Denied error on the Shell Script that tries to run.
    2016_01_28_08:36:47 TOTAL auto matches for 'Living Room' = 1/1
    2016_01_28_08:36:47 NOTE: NPL job completed: 0:00:02
    2016_01_28_08:36:47 ---DONE--- job=playlist tivo=Living Room
    2016_01_28_08:36:59 >> DOWNLOADING FROM 'Living Room' /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo ...
    2016_01_28_08:36:59 http://10.0.1.191:80/download/Hot+in+Cleveland.TiVo?Container=%2FNowPlaying&id=95513
    2016_01_28_08:41:51 NOTE: /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo: size=2825.96 MB elapsed=0:04:52 (81.18 Mbps)
    2016_01_28_08:41:51 ---DONE--- job=javadownload output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo
    2016_01_28_08:41:54 >> DECRYPTING USING TIVOLIBRE /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo ...
    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

     
  • Kevin Moye

    Kevin Moye - 2016-01-28

    I need to see what the file permissions are on the .sh file that gets created. Using command line can you show me the output of doing the following:
    ls -alF /Applications/kmttg_v2/*.sh

    When kmttg creates the .sh file it does a system call to make it executable using:
    chmod +x fileName.sh

    So it should be executable. In any case I think I can come up with a workaround which I'll post for you to try later today.

     
  • Todd Sheley

    Todd Sheley - 2016-01-28

    Thanks for the response back. Here is what it says...

    -rwxr-xr-x 1 todd staff 1517 Jan 28 12:19 /Applications/kmttg_v2/ffcut6745537175109442823.sh*

     
  • Kevin Moye

    Kevin Moye - 2016-01-28

    The permissions do look correct then. If you run the script as is from command line I think it should work:
    ./ffcut6745537175109442823.sh

    In any case, I'm going to try an alternate way of doing things that perhaps will work better.

     
  • Todd Sheley

    Todd Sheley - 2016-01-28

    That worked perfect! Thanks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.