Linux Crash Course - Understanding File & Directory Permissions

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น •

  • @nomen385
    @nomen385 ปีที่แล้ว +14

    This series doesn't feel like a crash course. It feels like the real effing deal. Thanks

  • @derekdrury2185
    @derekdrury2185 2 ปีที่แล้ว +7

    I’ve been using Linux for quite a while. Nothing too extensive - just home use for a media server and file share server. I’ve seen a lot of videos. This is one of the best I’ve seen. To-the-point, clear explanation and informative. Great job.

  • @kevinmjomba3394
    @kevinmjomba3394 2 ปีที่แล้ว +26

    Hands down one of the best explanations on file permissions I've found on TH-cam 👐🏾. I initially had a problem with using the octal notation to change file permissions but your explanation made everything so clear. Thanks a lot for this great learning resource 👏🏾

  • @johnwick6481
    @johnwick6481 2 ปีที่แล้ว +6

    Learned more in this half hour video then my professor taught me in a 3 hour lecture. Thank you very much. Liked and subscribed.

  • @davidwayne9982
    @davidwayne9982 2 ปีที่แล้ว +1

    I LOVE your videos... you make it UNDERSTANDABLE-- no fluff, no muss, no BS. just the facts- and no Um - ah- well maybe- or normal chatter-- PERFECT videos!!! THANK YOU.

  • @nabukodonosor777
    @nabukodonosor777 3 ปีที่แล้ว

    The best video on Linux permissions available online. Period.

  • @packet.zach88
    @packet.zach88 10 หลายเดือนก่อน

    Jay! You explain Linux better than anyone on the internet. I appreciate your service to the community : )

  • @GustavAgar
    @GustavAgar 2 ปีที่แล้ว +4

    I just logged into my yt account to say this is a masterly class! perfectly understood for a beginner of linux like me, i can only say im very thankful to you!

  • @harrytrueman4216
    @harrytrueman4216 3 ปีที่แล้ว +10

    As someone who has been learning linux trying to understand the linux filesystem has been hard especially coming from a windows background. Network chuck just dropped a video on this very subject and now you, awesome 👌

  • @wedunneedbadgers
    @wedunneedbadgers 2 ปีที่แล้ว

    I was trying to explain linux file permissions to somebody at work and left them stumped. So now i'll just link them to your video. You did 1000x better job of explaining.

  • @hamedsoleimanian7958
    @hamedsoleimanian7958 2 ปีที่แล้ว +6

    All of your tutorials are clear and easy to understand and also very informative. we need more people like you in the world. thank you

  • @heshamel-khatib6621
    @heshamel-khatib6621 ปีที่แล้ว

    Wow, finally I won't have to blindly add sudo when I get "Permission denied". Thanks so much this is pretty clear!

  • @OMAAKAAKORJOHN
    @OMAAKAAKORJOHN 8 หลายเดือนก่อน +1

    your tutorials are so real and straight forward ,thanks for the good job

  • @S_MAZ
    @S_MAZ 6 หลายเดือนก่อน +1

    you are a absolute great teacher

  • @Broccolixs
    @Broccolixs ปีที่แล้ว

    going through a yellowtail-tech course for RHEL and this series has been a massive help on the side outside of class

  • @rullywow3834
    @rullywow3834 3 ปีที่แล้ว +42

    “Permissions can be a BIT tricky...” lol I see what you did there

    • @rullywow3834
      @rullywow3834 3 ปีที่แล้ว +5

      Love your content, btw. Even regular Linux users can pick something up from your videos.

    • @CorporalPoon
      @CorporalPoon 2 ปีที่แล้ว +2

      🤓

    • @blackhitler8572
      @blackhitler8572 ปีที่แล้ว

      @@CorporalPoon 🍆🧕🏿

    • @EugeneBos
      @EugeneBos ปีที่แล้ว

      And I don't :(

    • @billgates3699
      @billgates3699 8 หลายเดือนก่อน

      OK Reddit

  • @Raj-yy7xx
    @Raj-yy7xx หลายเดือนก่อน

    Awesome Linux tutorial video! really appreciated!!! spent hours learning and love your clear teaching method! shared this with mates and family!

  • @srsr6099
    @srsr6099 3 ปีที่แล้ว +10

    Amazing Jay, your series connects to the real world. Thank you❤️

  • @sudebkarmokar
    @sudebkarmokar ปีที่แล้ว

    All of your tutorials are clear and easy to understand and also very informative.

  • @SHAK-tx2pz
    @SHAK-tx2pz 8 หลายเดือนก่อน

    Amazing. You just handed me exactly what i needed to hear to understand how permission works. Thanks

  • @YTonYahoo
    @YTonYahoo ปีที่แล้ว +1

    Best Linux channel

  • @agimagba9912
    @agimagba9912 ปีที่แล้ว

    Wow!
    The way you explain concepts is amazing and easy to understand.

  • @chefsalat
    @chefsalat 8 หลายเดือนก่อน

    I am very impressed by the way you teach these topics.
    would be also interesting to learn more about attributes / capabilities, as far as I understand, devs are held to replace the usage of the setuid permission and to switch to capabilities instead.

  • @Idle125
    @Idle125 2 ปีที่แล้ว +3

    Thank you so much, Jay. Fantastic video.Would like to see more about the SGID and SUID permissions and umask and maybe a sticky bit as well.

  • @JJJJ-gl2uf
    @JJJJ-gl2uf 2 ปีที่แล้ว +1

    Very good video. I'm on Chap 17 of the Linux OS Essentials course and this one helped me a lot in understanding some of the concepts.

  • @luciusrex
    @luciusrex 18 วันที่ผ่านมา

    super helpful! instead on going through the linux command book i borrowed from uni lib, im going through these videos instead! thanks!

  • @lawrencebutler2423
    @lawrencebutler2423 2 ปีที่แล้ว +5

    Learning more here then being slammed with textbook information. Thank you!

  • @dragonek_gnu_linux_pl
    @dragonek_gnu_linux_pl 3 ปีที่แล้ว

    man you;r amazing. Im done wrong school and now im little bit busy, working etc and have fmily so i can't go to school but on this channel is everything what i need. This channel is more practice not only distro hoppings reviews. This is what i wanted and thats why i subscribe ur channel. You and ef-tech linux made simple are the best channels for ppl who wnt to learn linux and deep dive :)

  • @Digisaurus
    @Digisaurus 3 ปีที่แล้ว

    Thank you for all your help to the Linux community!!

  • @amiraljrah1584
    @amiraljrah1584 2 ปีที่แล้ว +1

    Just loved your video and the way you explain the subjects

  • @yassinesekri4735
    @yassinesekri4735 ปีที่แล้ว

    love the pacing and the way you explained that !

  • @facts_tv6343
    @facts_tv6343 2 ปีที่แล้ว

    I'm a linux beginner. I love your explanation

  • @dokwonsuh
    @dokwonsuh 3 ปีที่แล้ว +4

    As always, awesome video. Thank you Jay and greetings from Germany :)

  • @aopen130
    @aopen130 7 หลายเดือนก่อน

    Glad I could just search up this video and refresh my memory on what the output of `ls -l` is . Totally forgot what each symbol stood for.

  • @Er_IT_prashantjha
    @Er_IT_prashantjha 4 หลายเดือนก่อน

    Very nicely explained, specially that -R one that was the hook point to be understood respect and regards from India.

  • @RalphBonn-vn5ej
    @RalphBonn-vn5ej ปีที่แล้ว

    Thanks!

  • @thekaleb
    @thekaleb 3 ปีที่แล้ว +2

    I have been using Linux for two decades now. I still like watching your videos in case I have omitted something in my education. Lo and behold at the very end of this video, you taught me about chown $USER:
    I never knew I could have a naked colon and it would use the user's default group. Thank you for all of your videos.

  • @victornoagbodji
    @victornoagbodji 3 ปีที่แล้ว +2

    😊 🙏 😊
    thanks for sharing this. great refresher.

  • @mikeforslund7375
    @mikeforslund7375 3 ปีที่แล้ว +1

    Great stuff Jay!

  • @umanga312
    @umanga312 3 ปีที่แล้ว +7

    Amazing video as always Jay but I think you should have included about SGID,SUID and Stickybit permissions too as they are often asked and not a lot of videos cover them

    • @txusiff
      @txusiff 3 ปีที่แล้ว +1

      999

  • @guapodesperado2822
    @guapodesperado2822 3 ปีที่แล้ว +4

    Great job, your teaching skills are excellent.

  • @Mr_T817
    @Mr_T817 ปีที่แล้ว

    Just discovered your channel and I absolutely love it! Love your presentation and approach to each topic. I'm picky when it comes to instructors and you definitely have my stamp of approval!

  • @ogbuaguchisom3807
    @ogbuaguchisom3807 2 ปีที่แล้ว

    This is a very esay to understand video. very detailed and simplified.

  • @HelloHelloXD
    @HelloHelloXD 3 ปีที่แล้ว +2

    What about sticky bits? What about sharing files and folders to many groups at once?

  • @richardlubbe293
    @richardlubbe293 ปีที่แล้ว

    It seemed to a difficult task before but the video has made it more simple

  • @ko6ghy
    @ko6ghy 3 ปีที่แล้ว +3

    Perhaps a follow on video covering mkdir --mode, umask, SGID bit, sticky bits?

  • @itsmith32
    @itsmith32 9 หลายเดือนก่อน

    Thank you so much for your great video! I've been enjoying watching it, and learned a lot. Now I have more questions about Unix permissions)

  • @hello2131991
    @hello2131991 3 ปีที่แล้ว +3

    Exactly what I need now. Thank you!

  • @djdrjacob1655
    @djdrjacob1655 2 ปีที่แล้ว

    You did an outstanding job on this tutorial

  • @RicardoTRueda
    @RicardoTRueda 3 ปีที่แล้ว +2

    Thanks a lot Jay, greetings from Madrid.

  • @earthlings_tech
    @earthlings_tech 2 ปีที่แล้ว +1

    Great videos; they've been a great help. Thanks for all you do and keep up the good work!

  • @attutorials2121
    @attutorials2121 3 ปีที่แล้ว

    Thank you jay! You explain all the concepts so easily!

  • @dux5332
    @dux5332 3 ปีที่แล้ว +1

    Great video Jay, more Linux tutorials please 👍

  • @mSpinks01
    @mSpinks01 2 ปีที่แล้ว

    Just what I needed. Excellent

  • @RockawayCCW
    @RockawayCCW 3 ปีที่แล้ว +1

    So, what permissions are best for the home directory? 700?

    • @RockawayCCW
      @RockawayCCW 3 ปีที่แล้ว

      Ubuntu has switched to 750 for the home directory

  • @mikekaton9011
    @mikekaton9011 2 ปีที่แล้ว

    Nice tutorial Jay very easy to follow and understand. Thank you

  • @MoinKhan-md4xx
    @MoinKhan-md4xx ปีที่แล้ว

    Numerical value for chmod makes sense if you know about "Bitwise flags"

  • @mohamedaminbouali213
    @mohamedaminbouali213 ปีที่แล้ว

    thank you sir this is so helpful and i found it fun to watch this video lot of support

  • @TradersTradingEdge
    @TradersTradingEdge 3 ปีที่แล้ว

    Superb explanation Jay. Thanks very much!

  • @lacorrida
    @lacorrida 3 ปีที่แล้ว +1

    Great lesson!! Bravo

  • @subhamrai8918
    @subhamrai8918 ปีที่แล้ว

    easy to understand explanation 💙

  • @emmanuelpoirier4602
    @emmanuelpoirier4602 2 ปีที่แล้ว

    Great because exhaustive and well organized video, thanks for that.

  • @AnzanHoshinRoshi
    @AnzanHoshinRoshi 3 ปีที่แล้ว +3

    Thank you, Jay.

  • @abdulaifadiga
    @abdulaifadiga 3 ปีที่แล้ว

    Now I get it, Jay!

  • @kamithbala7793
    @kamithbala7793 3 ปีที่แล้ว

    Excellent Explanation Jay.Thank you so much.

  • @ianmorris2440
    @ianmorris2440 2 หลายเดือนก่อน

    Permissions gives me issues from time to time. Eg groups like backup. Thanks Jay

  • @mvee5169
    @mvee5169 3 ปีที่แล้ว

    Top job on explaining it mate! thanks for the informative vid

  • @xaviermalcolm8593
    @xaviermalcolm8593 3 ปีที่แล้ว

    awesome explanation jay, love your videos--keep 'em coming please

  • @bhoomeendra
    @bhoomeendra 2 ปีที่แล้ว

    Amazing video you demystified and made it very clear

  • @joshuawilson4027
    @joshuawilson4027 3 ปีที่แล้ว

    You are real cool man!!! Very clever! Thanks!

  • @jim7smith
    @jim7smith 2 ปีที่แล้ว

    Outstandingly presented.

  • @ward7576
    @ward7576 ปีที่แล้ว

    19:05 but what about if user (jay) has no execute permissions, but group (jay) has execute permission? Why is it "permission denied", if the user "jay" is in group "jay" (which has the execute permission)?

    • @trickvro
      @trickvro ปีที่แล้ว +1

      My guess is it's basically carving out an exception. Users in this group can all execute, except for this specific user.

  • @emmanuelchidera1655
    @emmanuelchidera1655 2 ปีที่แล้ว

    This video is awesome, am definitely recommending this. ❤️

  • @sigmatronX
    @sigmatronX 8 หลายเดือนก่อน

    Awesome video. I'm loving Linux.

  • @manasamanas9016
    @manasamanas9016 4 หลายเดือนก่อน

    Video is next level thanks jay

  • @BrucesWorldofStuff
    @BrucesWorldofStuff 3 ปีที่แล้ว +1

    Hay JaY! I struggle with this all the time so I keep a cheat sheet with some of this printed out. Although I have watched others explain this topic I will say you did a better way for me to understand it a bit better... :-)
    So thank for that. Did know about the -R for files but did not know you could use on a directory like that... :-D Cool!
    So Thanks for the video!
    LLAP

  • @Jure1234567
    @Jure1234567 ปีที่แล้ว

    How about setting different permissions and ownership for multiple hard links to the same file?

  • @vinodkumar-cs4xi
    @vinodkumar-cs4xi 3 ปีที่แล้ว

    Very good informative video Thanks you very much for this, Looking forward for more videos like this

  • @Capitaine.Albator
    @Capitaine.Albator 3 ปีที่แล้ว +1

    Nice 👍🏻 thanks for sharing useful information. Subscribed 👍🏻✌🏻🇨🇦

  • @arulananthams2540
    @arulananthams2540 ปีที่แล้ว

    You are my best teacher 😍

  • @bjre.wa.8681
    @bjre.wa.8681 ปีที่แล้ว

    what are the 1;2;3 before the jays?

  • @TheLichKng64
    @TheLichKng64 2 ปีที่แล้ว

    Love your content and thank you so much for allowing us to learn more about linux =)

  • @trickvro
    @trickvro ปีที่แล้ว

    Is there an actual use case for those odd permissions (like being able to write but not read)? It seems to me like permissions should be hierarchical. Like, being able to write to a file should necessarily mean you can also read it. Or being able to read the contents of a directory implies being able to access it. Are counterintuitive permissions just a quirk of how chmod was written that can't be changed now, or do they exist for a reason?

  • @wigwechinwendu3787
    @wigwechinwendu3787 ปีที่แล้ว

    You are a great teacher, thank you so much.

  • @nevinkuser9892
    @nevinkuser9892 2 ปีที่แล้ว

    Any chance you could explain how to edit permissions for /usr/share ?

  • @vfeuer9236
    @vfeuer9236 8 หลายเดือนก่อน

    what owner:group should I set my lampp(apache and mysql) folder, so a non sudoer user can execute it without sudo command?

  • @sagarkapasi099
    @sagarkapasi099 2 ปีที่แล้ว

    Wanted to learn this specific stuff because www-data was causing having on docker. added my other users to www-data and www-data:root was the answer to anyone looking to mount a partition inside docker container which has access denied.

  • @AbTaha-px9mm
    @AbTaha-px9mm ปีที่แล้ว

    Hey Is there a difference between chown : to change a group and the command chgrp

  • @dynamitestyle8678
    @dynamitestyle8678 ปีที่แล้ว

    I looked at the man page for chmod. Why is recursive option -R and not -r?

    • @Broccolixs
      @Broccolixs ปีที่แล้ว

      was wondering the same thing

    • @Gaius__
      @Gaius__ 2 หลายเดือนก่อน

      While chmod does not have an -r option, many other commands do. So commands always use -R for recursive, to be consistent with general practice, and to avoid mishaps.

  • @anirbankopty9418
    @anirbankopty9418 ปีที่แล้ว

    I have one question -
    What if you make a group including the user1 and user2, and make a file with chown user1:group that_file. (the permission is -rwxrwx---)
    Now, can user2 access that file directly? Or is there any procedure to invoke the usage of the 'group' Identity?

  • @leythecg
    @leythecg 2 ปีที่แล้ว

    Another really great tutorial! Many thanks!

  • @YTonYahoo
    @YTonYahoo ปีที่แล้ว

    In the TV show Mr. Robot, the main character runs the command "chmod -R ER280652 600". (There may have been more to the command but it cut away.) What does it mean?

  • @Guilherme-qk9so
    @Guilherme-qk9so 9 หลายเดือนก่อน

    indeed linux permissions can be bit tricky. Finally I get the reference lol

  • @y44ctt
    @y44ctt 2 ปีที่แล้ว

    How do you get different permissions for different users on the same directory?

  • @MusicalSaikat
    @MusicalSaikat 3 ปีที่แล้ว

    Hi Jay, After changing the owner and user to batman, how "jay" user can still see Downloads contents with sudo?
    sudo chown -R batman:batman Downloads

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 3 ปีที่แล้ว +2

    Loved it :)

  • @andymok7945
    @andymok7945 2 ปีที่แล้ว

    Very informative as always.

  • @Alex-vn1qr
    @Alex-vn1qr 3 ปีที่แล้ว

    Thank you very much for the tutorial.

  • @TON-vz3pe
    @TON-vz3pe 2 ปีที่แล้ว

    Note: You cannot execute a file unless you can read permissions enabled. So, x on all files shall be accompanied with r.

  • @skc-j
    @skc-j ปีที่แล้ว

    Love u, this was awesome video ❤ thank you so much 🎉