Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Linux Mint Essentials

You're reading from   Linux Mint Essentials A practical guide to Linux Mint for the novice to the professional

Arrow left icon
Product type Paperback
Published in May 2014
Publisher Packt
ISBN-13 9781782168157
Length 324 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Jay LaCroix Jay LaCroix
Author Profile Icon Jay LaCroix
Jay LaCroix
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Meet Linux Mint FREE CHAPTER 2. Creating Boot Media and Installing Linux Mint 3. Getting Acquainted with Cinnamon 4. An Introduction to the Terminal 5. Utilizing Storage and Media 6. Installing and Removing Software 7. Enjoying Multimedia on Mint 8. Managing Users and Permissions 9. Connecting to Networks 10. Securing Linux Mint 11. Advanced Administration Techniques 12. Troubleshooting Linux Mint A. Reinstalling Mint while Retaining Data B. Using the MATE Edition of Linux Mint C. Using the KDE Edition of Linux Mint Index

Modifying file and directory permissions


Now that you have a thorough understanding of how to understand the permission system in Linux, we can work on actually changing the permissions of objects. To do so, we have two commands: chmod and chown. The chmod command is the one we'll use to modify the permission string of an object. The chown command is what we'll use to change the owner or group of an object.

In order to understand these concepts better, create some spare files and directories anywhere on your system so that you aren't modifying any critical component. You can set up a little lab in your home directory, for example, and create several files to modify their permissions. To start with, we'll walk through the basic usage of the chmod command.

For instance, let's assume that we have the following output of the ls -l command in our current working directory:

drwxr-xr-x   4 Sally   users  4096 Dec 31 13:54 Budget
drwx------  11 Tom     users  4096 Dec 24 14:11 Music

In the preceding...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image