Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to allow jailshell users to write/delete apache-created files (nobody.nobody) ?

Discussion in 'EasyApache' started by vladgur, Apr 28, 2008.

  1. vladgur

    vladgur Member

    Joined:
    Apr 18, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    151
    Hey Guys!
    One of my jail shell users is trying to delete a file that his php script created. Is there anyways to do it other than granting him a regular shell?
    Note as far as security concerns , the server belongs to a client of mine and the user in question is an outsourced developer creating an application for him. Im trying to see if i can keep him in jailed shell or not.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Have you considered running PHP as SuPHP so all files created by PHP scripts would be owned by the user rather than user nobody?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice