[CentOS] Managing permissions for web folders

Fri Sep 2 10:02:26 UTC 2011
John Doe <jdmls at yahoo.com>

From: Ruslan Sivak <russ at vshift.com>

>We have a web folder /var/www/somesite that's a root for one of the sites.  Apache serves files out of here. 
>It is an svn checkout, so that updates could be done by using svn up. 
>Everything has been going great when I use the root user to update, but now I need to give access to other people to make deployments, and it doesn't seem to be easy to do using regular users. 

What do you mean by deployments? svn ups?

Would a sudo specific/secure deployment script run as root do the job?

The script would verify what the user tries to do and then, if legit, do it...

All dirs/files would still be owned by root.


JD