Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    35

    Default 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?

  2. #2
    Member
    Join Date
    Oct 2005
    Posts
    35

    Default

    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. :-/

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 09-24-2010, 03:33 AM
  2. Replies: 0
    Last Post: 10-11-2008, 12:33 PM
  3. cPanel-script to fix default permissions
    By Henrik in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-02-2008, 09:36 PM
  4. Quick Python Script to assist with troubleshooting email
    By nickn in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-13-2005, 01:43 PM
  5. What script will fix mysql permissions?
    By N9ne in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-13-2003, 03:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube