Okay, so I've got our web user for the live site, also the cpanel user, and a new user develop. Our site path goes:
/home/user/public_html/dev
I need to give user develop permissions to write ONLY to the dev folder without changing owners or group permissions (I tried, it tossed me a 500 error). Is it even possible?
I've tried changing the dev folder ownership recursively to make the developer the owner, the only issue is that because the developer isn't the cpanel user, it threw the 500 error. I even tried to
usermod -a -G cpaneluser develop
to add the developer to the main cpanel user group (didn't know if its possible), and still no avail.
I know I can chroot him to the dev directory, but getting him to be able to edit everything in the dev directory without changing ownership of any files in it is the hard part.
~/public_html/dev
and~/public_html/
. Also, include what you actually did. What did you try and get a 500 error? In any case, that error is a browser code, I assume you have root access to the server and are using command-line commands right? For the question to be reopened, you need to add the new information to the question itself.