File Permissions and chmod (Octal Syntax Explained) - Linux Tutorial 20
Вставка
- Опубліковано 18 вер 2024
- Start your software dev career - calcur.tech/de... 💯 FREE Courses (100+ hours) - calcur.tech/al...
🐍 Python Course - calcur.tech/py...
✅ Data Structures & Algorithms - calcur.tech/ds...
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
✉️ Newsletter - calcur.tech/ne...
📸 Instagram - / calebcurry
🐦 Twitter - / calebcurry
🔗 LinkedIn - / calebcurry
▶️ Subscribe - calcur.tech/sub...
👨🏻🎓 Courses - www.codebreakt...
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
↪ My Amazon Store - www.amazon.com...
🅿 Patreon - calcur.tech/pat...
🅖 GitHub Sponsors - github.com/spo...
Ⓟ Paypal - paypal.me/calcur
🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
📈 Buy Bitcoin - calcur.tech/cr...
Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/cr...
Full Playlist - ua-cam.com/video/__iKSnQXe_o/v-deo.html
Links
www.linode.com/docs/guides/modify-file-permissions-with-chmod/
Thank you so much for this video. I've even recommended it to my college professor to replace the brief one he’s linking us to. The other video showed a set of 3 bubbles with numbers in them but did nothing to explain what they meant and only showed us what 750 would do. Breaking rwx down to 321 and 7 down to 3+2+1 is a great way for us to understand it. As someone with a lot of tech experience but not a lot of coding experience, regardless of the language or OS, this really clicked for me. I hope my Southern Maine Community College professor(s) will look at your Linux videos and maybe use some of them. You really speak in a way that is easy for a newbie to understand. You don’t go too slow but you also don’t zip right past things assuming the viewer can follow at that speed.
Fantastic breakdown. Thorough, and given examples and execution. Subbed.
I agree, he made it very easy to understand.
super useful! thanks Caleb
Outstanding!
Text Thomas Thompson for something profitable in B°T°C
Is there a command to change file permissions back to default in case many files were accidentally changed to 777?
i hope you compile this into one course like your other videos
Text Thomas Thompson for something profitable in B°T°C
awesome stuff :)
Text Thomas Thompson for something profitable in B°T°C
does the octal have to always start with a "r"?
Makes sense if you can't read a file then you can't operate any command
@repotranstech9614 not true, you could write to or execute things you couldn’t read. Granted, writing to a file you can’t read is a bit silly but could be done. As for executing what you can’t read, well it’s done all the time. Any closed source software is a great example. However, if we stick to basic Linux scripts what if I wanted to have you test our a script but not let you read it. I would need only to make it executable to the group or others groups depending on if you were also in my group.
Since the permissions always go rwx in that order then the binary of it would need to start with the read permission. Using a three digit number gets around that by just knowing what numbers add up to what you listed, eg 4 would allow you to read only and 3 would allow you to write and execute but not read.