what is umask? (intermediate) anthony explains

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • today I talk about umask and what values make the most sense and why it matters for security!
    - file modes and chmod: • file modes and chmod (...
    playlist: • anthony explains
    ==========
    twitch: / anthonywritescode
    dicsord: / discord
    twitter: / codewithanthony
    github: github.com/aso...
    stream github: github.com/ant...
    I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!

КОМЕНТАРІ • 11

  • @Andrewlstewart
    @Andrewlstewart 2 роки тому +6

    Love your youtube videos Anthony. I would love a deep dive into logger best practices. Most videos explain how to setup basic logging but not best practices in real code. Cheers!

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

      logging is a doozy -- personally I try and stay away from it and lean more on debuggers :)

  • @bentedewilde9771
    @bentedewilde9771 Рік тому +2

    this really helped me for my exams, thanks!

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

    Thank you! this was exactly what I was looking for.

  • @blue.5768
    @blue.5768 2 роки тому +1

    Another great video! Love watching these, almost always learn something new!

  • @silvanamelazzini6359
    @silvanamelazzini6359 Рік тому +1

    Great content here Anthony, thank you!

  • @magnuscarlsson6785
    @magnuscarlsson6785 2 роки тому +4

    Just wanted to add that when (in the old days) collaborating in project areas on Unix, where all members are in the same group, it's kind of essential to have umask 0002. ;-)
    Perhaps a video follow up on the setgid bit?

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

      indeed -- in that case it would give the group readwrite instead of just the individual!

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

    Came here without any permission, but luckily I learnt how to change the umask to 777 in order to make it all fine. great video, thanks for sharing your knowledge.

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

      OH NO not 777

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

      @@anthonywritescode I could say 000 but , truly instead of giving everybody permission , I prefer to not let anyone any , maybe I’ll understand it’s a problem later on when nobody would be able to edit etc😅😂