I'm using CachyOS and having a tough time with a removable USB stick that seems to be stuck in read-only mode. I've tried using sudo, but it still won't let me write to it. I suspect that my file manager, Dolphin, might be mounting it with some incorrect permissions, ignoring the fstab settings. The USB is formatted with a vfat filesystem, which should usually work with Linux, and it's been used with Windows and Android before without issues. I did manage to get it to work one time for a single file, but after unplugging it, I couldn't get it to mount as read/write again. I don't understand why a removable USB would be mounted as read-only by default. Any help would be appreciated!
3 Answers
I just set up CachyOS in a VM, and my USB drive mounted just fine with read-write access. Are you sure there aren’t any additional configuration settings you might have missed? Sometimes, the configuration can vary based on how the OS is installed or set up. It could also help to try different USB ports or another drive just to rule out hardware issues altogether.
It sounds like your USB might be having filesystem issues, which can cause it to mount as read-only. Make sure you check the drive with `sudo dmesg -w` right after you plug it in to see if there are any error messages. It's also really important to properly unmount the drive instead of just unplugging it. This helps prevent issues. You might want to run a filesystem check to see if that fixes the problem. If it keeps happening, there could be a hardware issue with the drive itself.
Fstab is generally not for removable devices, so that might not be the issue unless you changed something there. Most distributions, including CachyOS, should mount USB drives as read-write automatically with vfat or exfat filesystems. You might want to check the permissions of the mount point by using the terminal to look at the output of `ls -l`. If needed, you could change the ownership to yourself. If nothing works, consider reformatting the drive and starting fresh.

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux