16
submitted 1 day ago by [email protected] to c/[email protected]

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

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 5 points 1 day ago

you could also make an alias for rm that just move things to the trash bin thingy

[-] [email protected] 3 points 1 day ago

And then get screwed over when you're using another system without said alias. As I need to work on multiple different linux-hosts both as a selfhoster and on work I'd strongly suggest against aliasing any system command to something else and getting used to it.

[-] [email protected] 1 points 1 day ago

yeah i can 100% imagine myself doing that, probably a good idea not to lmao

[-] [email protected] 1 points 1 day ago

Yeah, there are a dozen "trash" commands. Honestly, I think changing muscle memory would be safer, but they could just install one of the trash commands and set up an alias as you say.

this post was submitted on 07 Jun 2025
16 points (78.6% liked)

Linux

55003 readers
628 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS