How to Change Default Permission in Linux with UMASK | MPrashant

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 40

  • @yuvrajdhotre4293
    @yuvrajdhotre4293 Год назад +3

    Thank you for such a easy technique and im learning from your Videos 💯❤️

  • @naturelovertech7255
    @naturelovertech7255 Год назад +1

    Very smooth and deeply describe permission thanks

  • @durgeshbrahmankar2779
    @durgeshbrahmankar2779 Год назад +1

    Excellent and lucid explanation 😊

  • @architkumar1265
    @architkumar1265 4 месяца назад +1

    Excellent explanation...

    • @MPrashant
      @MPrashant  4 месяца назад

      Glad you liked it

  • @newsupdate6221
    @newsupdate6221 Год назад

    your way to explain is amazing very helpful

  • @digambarawate4380
    @digambarawate4380 Год назад +1

    Really informative video..

  • @learnspokenenglishwithbish2548
    @learnspokenenglishwithbish2548 Год назад +3

    On point max file permission is 666 for files and not 777 so when file permission set with umask u+rw,g+rw,o-r then it becomes 660;so umask become 006(666-660) which can be seen in output of umask command

    • @amittripathy901
      @amittripathy901 2 месяца назад

      we do chmod 777 to apply all the permissions, ,max file permission is 777

  • @mohammadsaifullah6004
    @mohammadsaifullah6004 Год назад +2

    Nice one video 👍

  • @shubhamarya6708
    @shubhamarya6708 Год назад +1

    I want some advice sir ,
    I purchase sql course but cant decide which online platform is best so please suggest

    • @MPrashant
      @MPrashant  Год назад

      sorry I never buy any so can't help
      I have learned from an institue in Mumbai back in 2017 hehe

  • @wanderwithsaqib5485
    @wanderwithsaqib5485 Год назад +1

    Bhai is ur playlist sufficient for Linux for aws/devops plz reply

    • @MPrashant
      @MPrashant  Год назад

      I covered almost all basic and important concepts which will be useful in any job :)

  • @faizanahmad3539
    @faizanahmad3539 Год назад +1

    Thanks a lot sir

  • @priyanshusrivastava670
    @priyanshusrivastava670 Год назад +1

    Thanks sir❤

    • @MPrashant
      @MPrashant  11 месяцев назад

      Most welcome!

  • @swasthikbhatt9833
    @swasthikbhatt9833 Год назад +1

    thank you sir

  • @Its_gnk
    @Its_gnk Год назад +1

    Is that permission apply for logs also?

    • @MPrashant
      @MPrashant  Год назад

      I believe it will be..depending by which user and process those logs are generated

  • @tajammuljamadar9825
    @tajammuljamadar9825 Год назад +1

    Question :- If I set umask as 555 and create a file. then my file’s permission should be 111 (-x --x --x). But why my Linux is assigning the permission of 222 (-w w -w-) to my file ??
    please answer 🙏.
    because even chatgpt are not giving the right answer.
    please sir 🙏.

    • @TejasSameerDeshmukh
      @TejasSameerDeshmukh 11 месяцев назад

      bro, 7-5 =2 which is write. thus 777-555=222 (-w--w--w-)

    • @uj5466
      @uj5466 9 месяцев назад

      For folders, you need to subtract umask from 777 and for files, subtract from 666. Thus, for folders, umask of 222 means 777-222=555, but for files it is 444.

  • @Dontever_throw_trash_out
    @Dontever_throw_trash_out 7 месяцев назад

    Adding this affects files for whole user directory, how to add umask for specific files in a specific directiory
    Eg - SFTP transferred files should have 777 or something

  • @akshayshinde2924
    @akshayshinde2924 Год назад

    Bhai mmonit pe ek video banado. How to install and send monit alerts via emails.. Hope you will make it..

  • @MohitKumar-rv5hz
    @MohitKumar-rv5hz Год назад +2

    Mohit kumar from mullana University
    Please work on the Networking commands sooner or later

    • @MPrashant
      @MPrashant  Год назад +1

      I have uploaded few videos
      Netstat, Ping command
      I’ll try to bring some more

  • @vishwanathhosmane3834
    @vishwanathhosmane3834 Год назад +1

    Sirji aap kis jagah se belong karte ho?
    Aapka age kitna hai?
    Aur aapka educational qualification kya hai? Pls reply

    • @MPrashant
      @MPrashant  Год назад +1

      Mumbai
      29
      BE in Electronic Comm :)
      Maybe I will make a video on introducing mysefl and my journey

  • @mdrashidhussain7168
    @mdrashidhussain7168 4 месяца назад

    .bashrc file exists nhi h

  • @AbdultalibShiekh
    @AbdultalibShiekh Год назад +2

    vmware & windows