From the course: Linux for PHP Developers

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Configuring group permissions for access

Configuring group permissions for access

From the course: Linux for PHP Developers

Start my 1-month free trial

Configuring group permissions for access

- [Instructor] By default, the VirtualBox Shared Folder isn't accessible to our user. This is a feature, not a bug. We're going to have to change the permissions to grant both ourselves and the web server access to the shared folder. How do Linux permissions work? At the highest level, Linux permissions fall into two categories, a user permission, which affects a specific user, and a group permission, which affects a group of users. As a best practice, it's better to use group permissions and have the groups reflect their roles. Practically, this means less individual exceptions. Think of it as one size fits all. One of the security measures in Linux is that services typically run as a specific user and group, which minimizes potential damage if something is compromised. For example, Apache runs with user www-data in a group of the same name. All right, so how do we interact with Linux permissions? The id command shows the user and group identifiers, which gives context about what a…

Contents