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

vladgur

Member
Apr 18, 2003
23
0
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.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
13
313
Houston, TX
cPanel Access Level
Root Administrator
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.
Have you considered running PHP as SuPHP so all files created by PHP scripts would be owned by the user rather than user nobody?