Common user for a group
<p>I have few folders in /home.</p>

<p>/home/admin</p>

<p>For each new user, I create a folder programatically using PHP</p>

<p>So it would be </p>

<p>/home/user1
/home/user2</p>

<p>Now I need /home/admin user to be able to write to /home/user1 and /home/user2 and to any new folders created.</p>

<p>As of now user1 is added to a group user1 and user1 is the user
user2 is added to a group user2 and the user is user2 and so on.
admin added to a group admin and user is admin</p>

<p>I only need /home/admin to be able to write to /home/user1, /home/user2</p>

<p>I am using centos 6</p>