#1 (permalink)  
Old 08-02-2007, 02:37 PM
Registered User
 
Join Date: Oct 2005
Posts: 35
sime is on a distinguished road
troubleshooting script permissions

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-02-2007, 02:57 PM
Registered User
 
Join Date: Oct 2005
Posts: 35
sime is on a distinguished road
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. :-/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:40 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc