课程: Linux for PHP Developers

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Configuring group permissions for access

Configuring group permissions for access

课程: Linux for PHP Developers

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…

内容