I tried removing timeshift-btrfs directory in my home partition (I have installed the snapper preview version of Garuda)
, /var/lib/snapd/snap/superproductivity/1415 this directory also gives error read-only filesystem.
This didn't happen to me before. I was able to remove almost everything with root privileges, I tried removing them from another Linux installation but gives same errors, read-only filesystem
try navigating into the folder and doing an mkdir test123 as root, sometimes it's kinda weird, using sudo grants root rights but does not execute them as root, rather it executes your command as your user but with elevated permissions, but the error "read-only filesystem" shouldn't be fixed with any kind of permissions, is it installed to a (virtual) disk that's read-only ?
@home in every snapshot was read-only(as we can see from my terminal outputs)
so I tested btrfs prop get @home in every snapshot as suggested by @alexjp and I got ro: true so I ran btrfs prop set @home ro false in every snapshot and at the end I was able to do rm -rf timeshift-btrfs!
So I was able to successfully remove timeshift-btrfs directory from my home partition
As for /var/lib/snapd/snap/superproductivity/1415, it was bind mounted read-only, so I had to umount it first then I was able to remove it!
Could anyone help me remove /var/lib/snapd/snap/superproductivity/1415 directory? 1415 seems to be the read-only directory, and it is not a btrfs object.
Thanks a lot, @dalto and @alexjp, I didn't know it worked like that, as you said it was mounted and I had to umount it first then I was able to remove it!