Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Linux Mint Essentials
  • Table Of Contents Toc
  • Feedback & Rating feedback
Linux Mint Essentials

Linux Mint Essentials

By : Jay LaCroix
4.2 (10)
close
close
Linux Mint Essentials

Linux Mint Essentials

4.2 (10)
By: Jay LaCroix

Overview of this book

A task-oriented look at Linux Mint, using actual real-world examples to stimulate learning. Each topic is presented in an easy-to-follow order, with hands-on activities to reinforce the content. If you are starting out with Linux from a different platform or are well versed with Linux Mint and want a guide that shows you how to exploit certain functionality, this book is for you. No previous Linux experience is assumed.
Table of Contents (17 chapters)
close
close
16
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...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY