cPanel

/usr/local/cpanel/bin/jailshell: /usr/bin/wget: Permission denied

Permission denied
wget

/usr/local/cpanel/bin/jailshell: /usr/bin/wget: Permission denied

You many noticed the following Permission denied error with the wget command while the execution on cronjobs in cPanel.

/usr/local/cpanel/bin/jailshell: /usr/bin/wget: Permission denied

This error is mainly due to the permission of wget binary. First check the permission using the following command.

ls -l /usr/bin/wget

Check the sample output below:

[root@server ~]# ls -l /usr/bin/wget
-rwxr-xr-x 1 root root 357400 Jan 12 2016 /usr/bin/wget
[root@server ~]#

If the output looks like above, then the permission needs to be changed to 755.

chmod 755 /usr/bin/wget

That’s it!

Also ReadError: Cannot retrieve metalink for repository: epel

If you like this post and wish to receive more articles from us, please like our FB page: Button

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

Add Comment

Click here to post a comment

Topics