Skip to Main Content
Take Control of the Mac Command Line with Terminal, 2nd Edition
book

Take Control of the Mac Command Line with Terminal, 2nd Edition

by Joe Kissell
February 2016
Beginner content levelBeginner
167 pages
3h 29m
English
Take Control Books
Content preview from Take Control of the Mac Command Line with Terminal, 2nd Edition

Work with Permissions

Everything you do on your Mac, and especially on the command line, is governed by permissions—which user(s) can do which things with which items, under which circumstances. In this chapter, I introduce you to file permissions, along with the closely related notions of owners and groups. I also explain how to temporarily assume the power of the root user using the sudo command.

Understand Permission Basics

As you may recall from See What’s Here, when you list files in the long format (ls -l), you can see the permissions, owner, and group of each file and directory. Every file in Mac OS X has all these attributes, and you should understand how they work because they influence what you can and can’t do with each item.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Take Control of Automating Your Mac, 5th Edition

Take Control of Automating Your Mac, 5th Edition

Joe Kissell

Publisher Resources

ISBN: 9781457191107