what is umask? (intermediate) anthony explains

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 13

  • @Andrewlstewart
    @Andrewlstewart 3 роки тому +7

    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  3 роки тому +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!

  • @magnuscarlsson6785
    @magnuscarlsson6785 3 роки тому +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  3 роки тому +1

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

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

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

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

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

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

    Great content here Anthony, thank you!

  • @dorb1337
    @dorb1337 3 роки тому +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  3 роки тому +1

      OH NO not 777

    • @dorb1337
      @dorb1337 3 роки тому +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😅😂

  • @aliguzel4871
    @aliguzel4871 Місяць тому

    Thank you for your explanation but you didn't explain why 0022 or what the meaning of that number, overall thanks

    • @anthonywritescode
      @anthonywritescode  Місяць тому

      I did though! it's right at the beginning (you may need some supplemental information from the video in the description about what those letters mean and what octal is)