troubleshooting script permissions

sime

Active Member
Oct 16, 2005
35
0
156
I have a shell script which is called by a cpanel plugin, using cpanel 11.

I've put the script in /scripts. On the first server, this worked great. However, on the next server this fails. Testing on the command line. It seems the cpanel user, even with normal shell access cannot execute the script (even if the user owns the file and is 777).

Sounds odd? Am I being thwarted by a security setting here?

I don't want to give the user shell *at all*. I just want the script to run when the user runs it via cpanel. Where should I place the scripts, or what setting should I change?
 

sime

Active Member
Oct 16, 2005
35
0
156
It seems that the problem lies in the path to script. I've got around this by moving my scripts to a new location with custom permissions. :-/