F-ing up myself is part of my routine. I always rm files that I don’t mean to (obviously not always but it happens). So I think it would be nice to have separate ‘delete’ permission. With that I could protect my files from accidental 'rm’s. What’s your opinion

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 days ago

    Daily backups. Then you can have as much wild ambition as you like. Disk failures do not care for your permissions bits anyway.

    Practically though, one thing I find that’s a good habit to get into is to use rmdir on directories that you know should be empty instead of rm -rf. If you’ve made a mistake and try to delete the wrong folder, it’ll error out.