Environment
- Ubuntu 14.04 LTS Desktop 64-bit
Problem
- only members of group_name should be allowed to mount,unmount and read,write,execute drive_name
Potential Solution
- edit /etc/fstab add line:
/dev/abc /media/drive_name ext4 group 0 2
- create group:
sudo groupadd group_name
- add users to group:
sudo adduser user1 group_name
- mount point owned by group:
sudo chgrp /media/drive_name group_name
Question
- Is this the correct, secure way of solving the problem?
Thank you :)