Welcome to Web Hosting Forum - Net Hosting Talk

Register now and be part of our community! When you register with the Net Hosting Talk you can join in with topics, start new topics, and generally be a part of the first level of our community. It's also quick and totally free, so what are you waiting for?

CRON job permission denied error

derpnet

Newbie
Messages
3
Reaction score
0
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?
 

JustChatMe007

Newbie
Messages
21
Reaction score
4
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!
 

derpnet

Newbie
Messages
3
Reaction score
0
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

Top