I can not remove a directory from a backup on my HDD drive no matter what I try

So I test drove Bazzite distro for a week and decided to come back to EndeavourOS. Under bazzite my home/root was installed with BTRFS and my other drives stayed as ext4, one of them a nvme and two SDD’s.

my one HDD Seagate is my backup drive. I backed up my flatpaks before I jumped ship but one particular app’s directory does not want to delete. (JamesDSP) audio flatpak app. https://github.com/Audio4Linux/JDSP4Linux

This is what strait from Dolphin file manager shows: https://i.imgur.com/yPujUlD.png

I’m on KDE. Things I have tried so far: moving folder to trash and deleting from there: still will not allow me. I tried chmod u+w path to directory or even sudo chown -R Peter77 /mnt/* then tried deleting and same results.

I then tried sudo rm /path/to/directory and will not allow me, then tried su - submitted password and tried again, and the terminal message each time are the same: cannot remove ‘/mnt/seagate/os/ts/app/me.timschneeberger.jdsp4linux/cache/jamesdsp/autoeq’: Is a directory

I renamed .var/app/ to os/ts just to see if I could delete and no chance.

Any ideas?

rm will not delete directrories unless the r (recursive) flag is used.
ex;

sudo rm -r /mnt/seagate/os/ts/app/me.timschneeberger.jdsp4linux/cache/jamesdsp/autoeq
2 Likes

That did it! thank you so much! I was getting worried my drive had a hack or something crazy.

Thanks again, I learned something new today.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.