Linux Essentials For Hackers - #4 - File & Directory Permissions

preview_player
Показать описание
Welcome to the Linux Essentials For Hackers series, where we will be covering the 20% you need to know to be efficient with Linux. In this video, we will be covering file and directory permissions in Linux.

This series is sponsored by Linode, use the link below to get 20$ in free credits.
Promo code: HACKERSPLOIT20

◼️Get Our Courses:

◼️Our Platforms:

◼️Support us by using the following links:

I hope you enjoy/enjoyed the video.
If you have any questions or suggestions feel free to post them in the comments section or on my social networks.

Social Networks - Connect With Us!
-------------------------------
--------------------------------

Thanks for watching!
Благодаря за гледането
Kiitos katsomisesta
Danke fürs Zuschauen!
感谢您观看
Merci d'avoir regardé
دیکھنے کے لیے شکریہ
देखने के लिए धन्यवाद
Grazie per la visione
Gracias por ver
شكرا للمشاهدة

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

ls -al

file_permissions:

if the file name starts with a - as the first character, its a regular file
if the file name starts with a d, its a directory

r -- readable

w -- write permissions to the file

x -- excute the file

the first two characters after the - or d, shows the owner permissions along with the user name

the second colum is the group permissions along with the group name

and the rest of the colums is for world permissions, meaning that everyone else could just read it or do other stuff with the files if they have the permission to do so.


chmod - change mode and permissions
ugo = user, group, and owner
chmod u=rwx (u for user) you could do this for a specific user
or chmod +rwx (file)

octal mode:
r = 4
w = 2
x = 1

rdcludzz
Автор

Consider the permissions like this rwx 4=100(read bit is set r--) 2 = 010(write bit is set -w-) 1=001(executable bit is set --x). So simply
000 =0 = ---
001=1 = --x
010=2 = _w-
011=3 = -wx
100=4 = r--
101=5 = r-x
110=6 = rw-
111=7 = rwx
This is the best way to remember it. Just think it like a binary to octal conversion.
And you can use the ocatal numbers for owner grp others respectively. Like 777 = full permission for all 754 means full for owner r_x(read and execute for ) grp r--(read only for others)

sarathk
Автор

Thank you so much for these. For anyone else learning Linux in the future, try to grasp what he is saying and doing while doing it yourself, then at the end of the video, practice the commands for a bit until you understand it well before moving to the next video. Due to Alexis being humble and genuine, I also want to let you guys know he has an in depth administration course on his website for cheap as anything (10$) - Highly recommend it as I'll be purchasing that myself as well.

brownintrovert
Автор

Omg I been waiting for the continuation!!!! Awesome man I’m learning so much from your channel love it!!!!
You think you can do a python tutorial for basics and making bots?!

cybraxe
Автор

hey Alexis another great video, your teaching skills are simply out of this world I've learned more in your tutorials then my college and uni combined, if I have a power I would gladly give you The George Cross award

tonyfernandes
Автор

*furiously takes notes*. I feel my knowledge expanding with every one of these vids. Thanks!

tgraphicdesign
Автор

Great tutorials, It's difficult at the beginning but becomes easier as you try them on your own. Thanks

surkewrasoul
Автор

Loving these videos bro. Keep them coming !

sekytwo
Автор

First thing I need is mechanical keyboard...

shibinpm
Автор

Bro you're a flippin legend among the YouTube teachers.

badsanta
Автор

I’m learning so much from your channel

hamzav
Автор

Hey Mr HackerSploit, thanks again
I love the Binary or Octal Mode format too
755 is more ideal i guess, well all depends on requirements or needs of the project.

Much love from share

droidhackerr
Автор

hello brother actually am doing CEH course but you're the best and better then my institute

Life-style-
Автор

Thank You ! Amazingly clear ;))) Peace

frederic_viennot
Автор

Just adding on, hope i'm right, In the symbolic format, use '-' to specify no permissions and in the binary format use '0' to specify no permissions(seems like those are the current ones unless there's appropriate versions)

Venormous
Автор

In which terminal we should practice these codes from you in cmd command or in Kali Linux terminal

UtkarshBidkar-dnvt
Автор

awesome video n

what about rest 80%🤔🤔

makarandthakare
Автор

What's your icon theme? It looks great and clean

METRIX
Автор

Dear Alexis, is there a way to purchase your courses using something other than PayPal? PayPal left my country last year unfortunately.

OllenFrazer
Автор

how to remove permission for a specific user by name, so that it doesn't gets removed for all.

itsag