• Consti@lemmy.world
    link
    fedilink
    arrow-up
    27
    ·
    15 hours ago

    Accidentally did that once. You do get permission issues: several binaries (e.g. sudo, ping, …) require the sticky bit, which is lost by this. Also quite a few things are sensitive to the configured permissions and won’t run.

    • RogueBanana@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      53 minutes ago

      Oh I have also made a typo once and ran 775 on home folder by accident. Noticed it was taking a while and realised my mistake but it was too late to stop. Spent a long time comparing it with another laptop and manually corrected each folder or at least tried to. There’s probably still a lot of incorrect ones but at least the important ones should be safe. That was another reminder to be more careful when running commands with sudo.

    • Err(()).unwrap()@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      15 hours ago

      Some software explicitly check whether security-relevant files have permissions they should not and refuse to run. I learned it the stupid way when I 777’d my authorized_keys file (yes, I know it was a redacted thing to do).