From the course: Practical Linux for Network Engineers: Part 1

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Linux permissions, part 1: Introduction

Linux permissions, part 1: Introduction - Linux Tutorial

From the course: Practical Linux for Network Engineers: Part 1

Linux permissions, part 1: Introduction

(techno music) - [David] In this video we're going to discuss Linux permissions and I'll show you how to set file ownership, as well as how to set Linux permissions like read, write and execute. In this example, I've connected to the Buntu server in my GNS3 topology and I'm currently in the home directory of david, and I'm logged in as david. I'm gonna go back a directory. Ls shows us that there are two directories in the home directory, one for david, and one for james. Ls -l allows us to see details. Now to understand the permissions as shown over here, we need to understand ownership. Every file in the Linux system has an owner, a group owner, and others. So these permissions here are the owner permissions for this file, or the owner permissions for this directory. These are the permissions for the group, and these are the permissions for everyone else. So as an example, the david directory can be read by everyone else and execute permissions are set on that directory. On this…

Contents