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...

КОМЕНТАРІ • 17

  • @codebreakthrough
    @codebreakthrough  2 роки тому

    Full Playlist - ua-cam.com/video/__iKSnQXe_o/v-deo.html
    Links
    www.linode.com/docs/guides/modify-file-permissions-with-chmod/

  • @crawdaddydoo
    @crawdaddydoo 7 місяців тому

    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.

  • @Zytri92
    @Zytri92 2 роки тому +2

    Fantastic breakdown. Thorough, and given examples and execution. Subbed.

    • @crawdaddydoo
      @crawdaddydoo 7 місяців тому

      I agree, he made it very easy to understand.

  • @reymago23
    @reymago23 2 роки тому

    super useful! thanks Caleb

  • @KowboyUSA
    @KowboyUSA 2 роки тому +1

    Outstanding!

    • @michaelwrubal527
      @michaelwrubal527 2 роки тому

      Text Thomas Thompson for something profitable in B°T°C

  • @abbasrizvi9389
    @abbasrizvi9389 4 місяці тому

    Is there a command to change file permissions back to default in case many files were accidentally changed to 777?

  • @54M1WUL
    @54M1WUL 2 роки тому

    i hope you compile this into one course like your other videos

    • @michaelwrubal527
      @michaelwrubal527 2 роки тому

      Text Thomas Thompson for something profitable in B°T°C

  • @satyarsh665
    @satyarsh665 2 роки тому

    awesome stuff :)

    • @michaelwrubal527
      @michaelwrubal527 2 роки тому

      Text Thomas Thompson for something profitable in B°T°C

  • @tahntalus
    @tahntalus Рік тому

    does the octal have to always start with a "r"?

    • @repotranstech9614
      @repotranstech9614 Рік тому

      Makes sense if you can't read a file then you can't operate any command

    • @crawdaddydoo
      @crawdaddydoo 7 місяців тому

      @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.

    • @crawdaddydoo
      @crawdaddydoo 7 місяців тому

      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.