Web Hosting Forum - Net Hosting Talk

We are a community of individuals and businesses passionate about web hosting. Let's build, learn, and grow together.

CRON job permission denied error

derpnet

Newbie
Registered
Hello,

I just migrated my website to a new hosting provider. After the migration, I am getting cron jobs failing with permission denied errors. The cronjob emails include this error:

"/usr/local/cpanel/bin/jailshell: /usr/bin/curl : Permission denied"

Any ideas on how to fix it?
 
  • Advertisement
  • You can try this:
    First check the permission using the following command.
    Code:
    ls -l /usr/bin/wget

    Output should be: -rwxr-xr-x. 1 root root
    If not you can use the command below to change the permission
    Code:
    chmod 755 /usr/bin/wget

    Hopefully it helps!
     
  • Advertisement
  • You can try this:
    First check the permission using the following command.
    Code:
    ls -l /usr/bin/wget

    Output should be: -rwxr-xr-x. 1 root root
    If not you can use the command below to change the permission
    Code:
    chmod 755 /usr/bin/wget

    Hopefully it helps!

    It was 700. I changed it and it works now. Thanks.
     

    Advertisement

    Back
    Top