Permission Denied when trying to run a script.

Hello everyone, Im upgrading a software on our server. However when I try to run the script named to update the mysql tables I run into this issue. Im using Centos

Last login: Sat Aug  9 22:19:29 2014
$ cd $GTS_HOME
$ bin/ -tables=cak
-bash: bin/ Permission denied

The user and group are correctly typed. This used to work the last time I run this around 3 months ago.

drwxr-xr-x  17 joe joe      4096 Jul  3 10:59 softwarenamehere

Any advice will be appreciated.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Enter the following command and post the result:

head $GTS_HOME/bin/

also post the result of running the command

what does

ls -l $GTS_HOME/bin/


Do you have execute permission set on
echo $GTS_HOME

is the directory what you expect?
check with user having more privileges..  Because it seems like user is trying to execute some instructions which are not being allowed as per the currently user rights.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
prsnAuthor Commented:
Thanks everyone for the help

I solved the issue
In case someone had the same issue. The "executable" permission was not assigned to the


I Run this and it solve it.
cd $GTS_HOME/bin/
chmod a+x .pl
chmod a+x .sh
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.