Separate User permissions for Developer & HTML on same domain

Hi

I’m using virtualmin, and I’m trying to give access to 2 type of users on a domain…

  1. Developer - complete access to all file and folders under public_html
  2. HTML - access to ONLY /home/domain/public_html/pages & /home/domain/public_html/images

I dont want the HTML user to be able to view/edit/download content in /home/domain/public_html/application or anyother folder above /home/domain/public_html/ like Maildir fcgi-bin logs etc

Also if I change ownership of the /home/domain/public_html/pages folder Apache stops working…
This is the error i get… “access to / denied (filesystem path ‘/home/domain/public_html’) because search permissions are missing on a component of the path”

What would be the best way to go about doing this…

Thanks

V