• ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    3 days ago

    Understanding chmod and chown are foundational knowledge to actually being able to call oneself a “Linux user”

    I gotcha, sudo chmod -R 777 /*, where we’re going we don’t need permission.

    • MTK@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      3 days ago

      Careful! This is very dangerous, you should instead do

      sudo chown -R user:user /*
      

      Where “user” is your username, and then do

      chmod -R 770 /*
      

      This will make sure that only your user has all the access!

      (Don’t do this)