💀☠️

  • janAkali@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 days ago
    1. create a read-only directory
    2. create regular rw directories inside it
    3. put your files in the writable dirs
    4. create symlinks for convenience (optional)
    5. now you can fuck up rm -rf ~ and it will not delete files in protected directory
    6. just dont fuck up rm -rf ~/protected/writeableDir