O'Reilly logo

LPIC-1/CompTIA Linux+™ Certification All-in-One Exam Guide by Robb Tracy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter Review

In this chapter, I discussed ownership, permissions, and quotas. I pointed out that users and groups only control who can access the system. They don’t control what the user can do with files or directories in the file system. To do this, I need to implement ownership and permissions.

I pointed out that, whenever a user creates a file or directory, that user is automatically assigned to be its owner. In addition, the group the user belongs to becomes the file or directory’s group owner. These defaults can be changed; however, you must be logged in as root to change a file or directory’s owner or be logged in as its owner to change its group.

To modify ownership, you use the chown command. This command can change both the user and/or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required