I have a Debian Squeeze server with an EasySCP admin panel. This panel set domain folders in
Every domain has a unique ID of
vu2001... Ownership of the files under domain folders is
vu2000:vu2000 on domain1,
vu2001:vu2001 on domain2 and so on. Everything works great (apache, root access, etc.).
I need a non-root SSH/SCP user who can read and write all domain folders (recursively) under
/var/www/virtual (copy, create files, etc.). Only root is able to do that, I do not want to give somebody root access because of many security risks.
Which group do I have to set for the user to be able to access and change files in domain folders? With
www-data group this user can read, but cannot write. How do I set this up?