Chapter 5. Controlling Ownership & Permissions

Chapter contents:

  • Understanding file ownership and permissions

  • Finding out who owns what

  • Finding out which group you're in

  • Changing the group association of files and directories

  • Changing ownership of files and directories

  • Changing permissions

  • Translating mnemonic permissions to numeric permissions

  • Changing permission defaults

UNIX is a multi-user system in which your files are separate from Jane's files, which are separate from Joe's files, and so on. Any file you create is separate from other users' files and usually cannot be directly accessed by Jane, Joe, or any other user.

Occasionally, though, you will need to share files. For example, you might be collaborating on a project with Jane where sharing files (rather than creating and maintaining separate ones) is essential.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.156.212