Making files executable for a script to use...

Discussion in 'Apache' started by Whitey, Aug 31, 2008.

  1. #1
    Hey guys.

    I've been toying with this for about 30 minutes and cant get my head around it. A modded version of Torrentflux that I want to run on my server needs to be able to execute binary files from "usr/local/bin".

    It says all the files it needs are found, but they are not executable. I have set the permissions to 0777 (and even 7777) and it still doesn't work.

    Ya, probably a noob question... but you godda learn somehow right? :D

    Thanks.
     
    Whitey, Aug 31, 2008 IP
  2. mellow-h

    mellow-h Peon

    Messages:
    750
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To make a file executable simply run the following command:

    chmod +x filename

    Replace the filename with your filename or the path. Have fun :)
     
    mellow-h, Aug 31, 2008 IP
  3. Whitey

    Whitey Active Member

    Messages:
    1,386
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Just tried that, still not working...

    I've also checked my php.ini file and "openbase_dir" is disabled... so now I'm really clueless :confused:
     
    Whitey, Aug 31, 2008 IP
  4. mellow-h

    mellow-h Peon

    Messages:
    750
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Have you chmod the files in your /usr/local/bin folder or the files for your torrentflux?
     
    mellow-h, Aug 31, 2008 IP
  5. Whitey

    Whitey Active Member

    Messages:
    1,386
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #5
    The binary files that the script needs are in /usr/bin, and I have tried CHMOD'ing them... there is nothing in /usr/local/bin that the script needs.

    Thanks :)
     
    Whitey, Aug 31, 2008 IP