• graycube@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      21 hours ago

      Files have a concept of ownership and have permissions on them. Some permissions can stop you from deleting them. If you own the file you can add a “-f” option to the rm to force it to delete. You can also change the permissions and ownership on files.