Linux File permissions and Ownership Explained

preview_player
Показать описание
In this video, I go over Linux File permissions and Ownership. With them Explained, you will be able to understand the basics of Privileges. Please note: I forgot to add -R to chown / chmod commands to change folders/files in mass.

Detailed Guide:

Рекомендации по теме
Комментарии
Автор

In case anyone wondered why they are using these numbers: It's basically binary.
rwx = 111 = 7,
-wx = 011 = 3,
rw- = 110 = 6

das_evoli
Автор

This is such a great video in the way it's explained alongside actually demonstrating using chown and chmod. Thanks Chris!

datoura
Автор

Chris is a fantastic instructor. This is the first time any of this stuff ever made sense.

busyrand
Автор

This is hands down the best video I've seen today; helped with my skill issue

dan_le_brown
Автор

Not sure if anyone has mentioned this, and it's not directly related to just this video, but just a quick tip for whenever you run a command and realize you missed "sudo", instead of recalling the command and adding sudo to the beginning, you can simply just do "sudo !!" which basically means "run the last command with sudo"

dhakhoa
Автор

I enjoyed this, understand better and simpler now. Better assimilated. Thanks indeed. The web blog is a great tool/material.
Thank you and God bless 🙏.

adeleketobi
Автор

Thanks for video. This one was really explaining and nice.

BayDeveloper
Автор

9:16 - would have been a great time to teach `sudo !!` haha

smccrode
Автор

Good tutorial. It was a nice refresher for me.

TeamLinux
Автор

Chris I'm running Manjaro, I downloaded a bunch of font files. Here is my problem when I do a ls -l in the font folder the permissions are showing all correct. when I try to copy fonts into the folder it tells me I don't have permissions. every time I do a cd into fonts then chomd, I must be missing some thing?

hisforeverkid
Автор

This is better explained than the book I bought for my cert

ElisandroDeLeon
Автор

might be worth mentioning "tldp" the Linux Documentation Project as well. It has fantastic Bash reference with scripting

TIP: absolute v. symbolic: If I need to set permissions to something specific, I use absolute (numbers) but the *most* common change to permissions I make is to add or take away executable on a script or binary. For that: chmod +x <filename> is more convenient.

Curious, why titus:tutus and not titus:users?

GradyBroyles
Автор

Is there a way to chown/chmod all files inside a directory? So you wont have to type over and over

sandro
Автор

Thanks, there was some things I knew, some I didn't. Good lesson. If you want to continue acting as a teacher, that's something I will appreciate much.

OldieBugger
Автор

What if i had permission to Read, Write, Executive with one folder but by mistake remove permisson to folder how we can get it back ?

itsnavidalam
Автор

This seems very similar to regedit in Windows. Yet, I think that if one breaks something in a distro it might be easier and lest costly to fix than a Windows registry. It seems like chown is central to getting things done in a file system. I anticipate that this will help me do some tinkering in the /etc and /var sub_folders. I need to add a line to modules, usb_storage. I want to get automount working for usb drives

WillsJazzLoft
Автор

I'm having this problem on my husband's computer but I think this is over my head. Is there a way to change it from within the operating system.. a menu or something? I keep getting the message 'you don't have permission '

kathleenhensley
Автор

I need To take ownership of external drive, How Do I this? My steam folder is on a different drive just did fresh installed of Pop Os. Want to use my Games, saves. Thanks for your help anyone.

deadnchillin
Автор

how to add multiple users or groups excluding some of them to a file?

narendranathjagarlamudi
Автор

How do you change the owner of your distro? I would prefer having full control over my operating system which is Ubuntu from Windows 10.

I have switched to Ubuntu, the minimal install of windows 10 is not recommended if you want to keep windows 10 up do date, because you'll have to do an in place upgrade on it to fix why you can't update it, and secondly, I would prefer if I had permission to move a windows theme into any directory without facing permission denied error's.

theroyalaustralian