• hddsx@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Sorry, user babe is not in the sudoers file. This incident will be reported

  • bitchkat@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Had an idiot “fix” a permission problem by running “sudo chmod -R 777 /”

    And that is why sudo privileges were removed for the vast majority of people.

    • bigbuckalex@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Oh… That sounds like a nightmare. How do you even fix that? There’s no “revert the entire filesystem’s permissions to default” button that I’m aware of

  • GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    3 months ago

    why tho?

    If it’s a file I have to modify once why would I run:

    sudo chmod 774 file.conf

    sudo chown myuser:myuser file.conf

    vi file.conf

    sudo chown root:root file.conf

    sudo chmod 644 file.conf

    instead of:

    sudo vi file.conf

    1000001464