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