Dan Ritter <[email protected]> wrote: > Chris Green wrote: > > I have an SD card which is vfat formatted. There's a file on it that > > I want to remove but when automounted it is read only. How can I get > > it to mount with write permission? > > > > This is on debian 12. > > First, check to see if the SD card has a readonly switch. (Many > SD cards do; microSD do not.) > > Second, try: > > (assuming that the card is mounted at /mnt/media/foobar) > > sudo mount -o remount,rw /mnt/media/foobar > Thank you, worked perfectly, I've now removed the file. It's an SD card from a camera and the one damaged file was stopping a program to copy files from there to my laptop. The camera had thrown a wobbly while taking a picture and left the duff file.
-- Chris Green ยท

