Cannot mount /dev/sda read-only

I have an issue with my usb stick. When I try to mount it with thunar it says “cannot mount /dev/sda read-only”. It’s not Qubes related really but I don’t know what to do and can’t test it as I need to recover the data.
Last time I was using that USB I had to unplug it while it was in use. I actually did the “safely remove” but it showed some popups and I think it didn’t really unmounted it and that’s why I have this issue now. USB’s fs is ext4.
Please help

So it is better to ask this question on a general Linux forum.

I don’t want to put trust on people I don’t know. I need to recover this data with least risk as possible

I’m wondering why the device you want to mount is /dev/sda.

Looks like you want to mount and use it in sys-usb which is not a good idea at all.

After attaching the “block device” (not the “USB device”) to an AppVM it typically is listed as as virtual device like /dev/xvdi in the AppVM.

I’m pretty sure you won’t have any problems mounting that.

The issue with the USB itself. I tried it on a non-Qubes OS and it’s the same, except the path.

It sounds like permissions got messed up ?

sudo chown user:user -R /mnt/wherever (wherever you have mounted it to)

Nevermind, it sounds like diff issue. Does the usb have a slider to make read only/locked ? (Sd cards have these)

Have you tried mounting with cli ?

udisksctl mount -b /dev/sda

1 Like

were you able to attach the stick to another qube using the devices widget?
In that other qube, could you open a root terminal and mount the new
device, at /dev/xdvi? If not, what error message did you see?

I never presume to speak for the Qubes team. When I comment in the Forum I speak for myself.