How to chown directory for multiple users?
You'll need a group with apache and all the VPS users in it, call it vpsusers for instance
# do this as root
groupadd vpsusers
gpasswd -a apache vpsusers
gpasswd -a bob vpsusers # if you have a user named bob
gpasswd -a alice vpsusers # if you have a user name alice
# etc...
And then make that group the group owner of the directory in question, eg
# also do this as root
chown -R apache:vpsusers /your/directory
And finally, make that group-writeable
# again, as root
chmod -R g+w /your/directory
(As always, think about what you're doing before you chmod or chown...)
Just use this linux command
sudo chown -R :users your_directory