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

Managing Ownership

To effectively control who can do what in the file system, you need to first consider who “owns” files and directories. We’re going to discuss the following in this regard:

• How ownership works

• Managing ownership from the command line

Let’s start by discussing how ownership works.

How Ownership Works

Anytime a user creates a new file or directory, his or her user account is assigned as that file or directory’s “owner.” For example, suppose the ksanders user logs in to her Linux system and creates a file named contacts.odt using OpenOffice.org in her home directory. Because she created this file, ksanders is automatically assigned ownership of contacts.odt. By right-clicking on this file in the system’s graphical user interface ...

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