Permission Denied for update?

When in the terminal is attempted to update the core and the plugins but the shell says permission denied, anybody have any idea why? Here is the sequence?
[lila@res162 ~]$ cd public_html
[lila@res162 public_html]$ bin/gpm selfupgrade
-jailshell: bin/gpm: Permission denied
[lila@res162 public_html]$ bin/gpm update
-jailshell: bin/gpm: Permission denied

Could be a few things. I’m guessing this is on a shared hosting account? If so can you first ensure that the gpm and grav commands in the bin/ folder have execute (x) permissions? Like this:

gravnorg@gravitron.org [~/www/grav]# ls -la bin/
total 1048
drwxr-xr-x  2 gravnorg gravnorg    4096 Feb 19 17:04 ./
drwxr-xr-x 10 gravnorg gravnorg    4096 Feb 19 17:04 ../
-rwxr-xr-x  1 gravnorg gravnorg 1054749 Feb 19 17:04 composer.phar*
-rwxr-xr-x  1 gravnorg gravnorg    1376 Feb 19 17:04 gpm*
-rwxr-xr-x  1 gravnorg gravnorg    1140 Feb 19 17:04 grav*

Next check to see what version of PHP your CLI is running:

gravnorg@gravitron.org [~/www/grav]# php -v
PHP 5.4.27 (cli) (built: Apr  6 2014 14:43:05)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and 
    with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies

That should be at least PHP 5.4.