This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use Case: | |
A number of users (ex. www-data, ivailom, etc) need to access a directory (ex. /var/www/media) securely. | |
Steps: | |
1. Create a new group that would govern the group access to the directory. | |
sudo groupadd varwwwmedia | |
NOTE: Using the default group of the user that created the directory may have unintended consequences elsewhere | |
2. Add the user that needs access to the group. |