I am a new system admin and learning Ubuntu. I have to setup a restricted (permission) for directories in Apache web server. The scenario is as follows. The folders are,
/var/www/data/ /var/www/management/ /var/www/hrd/ /var/www/technical/
The users in hrd (HR Department) group must access
/var/www/hrd/ contents only.
The users in technical group must access
/var/www/technical/ contents only.
The users in management group can access all the contents.
All the users & groups can access the common
How to implement this? Can anyone help me out? Thanks in advance.