Тёмный

Linux File Permissions (Animated) 

Boot dev
Подписаться 14 тыс.
Просмотров 2,9 тыс.
50% 1

File permissions in Unix and Linux are wonky af. We'll break down exactly how those pesky drwxrwxrwx strings work.
Learn back-end development - www.boot.dev
Learn Shells and Terminals - www.boot.dev/learn/learn-shel...

Наука

Опубликовано:

 

3 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@amanksdotdev
@amanksdotdev 2 месяца назад
I'm watching a bootdev video after a long time, looks like a huge upgrade. Good editor and writing. GG.
@bootdotdev
@bootdotdev 2 месяца назад
Welcome back! glad you're enjoying. We're going to be making a lot more now that we've found a style we like
@bitpilot79
@bitpilot79 2 месяца назад
Short and clean, thanks!
@ChananOren
@ChananOren 2 месяца назад
0:34 The most common is 'd' or '-', more are possible take a look under "/dev". There is also 'c' (character device), 'b' (block device), 'l' (symlink), 'p' (named pipe [mkfifo command creates this]; eza shows this as '|' [pipe symbol]), 's' (socket; e.g. `nc -lU socket.sock`). The 'x' for user/group can be an 's' (setuid/setgid) or 'S' (same but missing execute permission), for other it can be 't' (sticky bit) or 'T' (missing execute) (see /tmp). chmod also takes numeric permissions (octal): rwx = r(4) w(2) x(1) in "ugo" (user, group, other) order, so 750 is user = rwx, group = r-x, other = ---. There can also be a four-digit permission, /tmp is 1777 = rwx for user, group, and other plus the sticky bit (that position can also be setuid(4), setgid(2), and sticky(1)).
@bootdotdev
@bootdotdev 2 месяца назад
Good point! We just showed the simple options
@wagslane
@wagslane 2 месяца назад
Stass is the GOAT
@Sledgeattack
@Sledgeattack 2 месяца назад
Look at this man claiming first on his own video
@wagslane
@wagslane 2 месяца назад
@@Sledgeattack rekt nerd
@bootdotdev
@bootdotdev 2 месяца назад
stop bullying the viewers lane...
@ryanwilliams5499
@ryanwilliams5499 2 месяца назад
woah...howcome this wagslane looks so different from Backend Banter wagslane? are they the different peepo?
@hvaghani
@hvaghani 2 месяца назад
What about access control list?
@ChananOren
@ChananOren 2 месяца назад
On Linux, pretty much the same just allows you to set different permissions for different users/groups. e.g. `setfacl -m u:otherusername:rw somefile` (gives rw to otherusername, use "g:groupname" for groups).
@hvaghani
@hvaghani 2 месяца назад
@@ChananOren yeah. It was pretty useful when I had to mount /var/log directory in log aggregator pod but didn't want to run the pod with root privilege. I spin up the init container with root access that sets right acls.
Далее
Linux File Permissions in 5 Minutes | MUST Know!
6:03
Static vs Dynamic Typing
5:34
Просмотров 19 тыс.
Он тоже из IKEA 🙀
00:10
Просмотров 287 тыс.
What is Git Rebase? (Animated)
1:53
Просмотров 7 тыс.
What is a Pub/Sub Architecture (Animated)
1:37
Просмотров 2,4 тыс.
7 Essential Command Line Tools (2022)
9:12
Просмотров 196 тыс.
PHP is Wack. (Coding in a Random Language Every Day)
14:41
ThePrimeagen On Running Linux
9:40
Просмотров 198 тыс.
How Does Linux Boot Process Work?
4:44
Просмотров 553 тыс.
Linux Filepaths (Animated)
1:00
Просмотров 2,8 тыс.
РЭДФЛАГИ СБОРЩИКОВ ПК часть 1
1:00
РЭДФЛАГИ СБОРЩИКОВ ПК часть 1
1:00