Linux file permissions and ownership-Everything you need to know

Опубликовано: 26 Апрель 2026
на канале: SAMIN BIN HUMAYUN
20
1

Linux
Prerequisites

In this video, I have covered the Linux Ownership command i.e. chown,chmod and chgrp
How to change the ownership of a file or directory in Linux using chown and chgrp command.

There will be many cases where you will need to change the ownership of the command.

Introduction to Linux
Installing Linux
Basic Linux Tasks
VIM for File Editing
Navigation in Linux
Purpose of Class

This class teaches students how to manage users, groups, and permissions in a Linux environment.
Topics Covered

Adding and Deleting Users
Editing the passwd File Which Contains User Configurations
Changing User Passwords
Adding and Deleting Groups
Adding and Deleting Users from Groups
Editing the group Configuration File
Understanding Permission Numbering System
Changing User and Group Ownership for Files and Folders
Class Notes

Permissions
Numbers = owner/group/everyone else
4 = read, 2 = write, 1 = execute
To Change Permissions of a File or Folder = sudo chmod 777 file/folder (-R for recursive)
Changing Ownership
To Change User Ownership = sudo chown -R username file/folder
To Change Group Ownership =sudo chgrp --R groupname file/folder
-R for Recursive for Folders