Page 1 of 1

Can't write files to SD Card -- Mint claims it's read only

Posted: Sun Oct 25, 2015 6:37 pm
by stephenleotti
Today I bought a 16gb SD card for storing larger files since my hard drive is always running out of space and I'm not a fan of USBs since they stick out too much. When connecting it I am told the card is read only. Same on Ubuntu. If I plug it into windows, it works fine. I've tried a lot but to no avail. Please send HELP!!

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Sun Oct 25, 2015 8:12 pm
by WharfRat
stephenleotti wrote:Today I bought a 16gb SD card for storing larger files since my hard drive is always running out of space and I'm not a fan of USBs since they stick out too much. When connecting it I am told the card is read only. Same on Ubuntu. If I plug it into windows, it works fine. I've tried a lot but to no avail. Please send HELP!!
With the sd card inserted paste back the output of

Code: Select all

mount

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Mon Oct 26, 2015 9:20 am
by stephenleotti

Code: Select all

/dev/sda7 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
/dev/mmcblk0p1 on /media/stephen/23A4-27F7 type vfat (ro,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=stephen)

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Mon Oct 26, 2015 12:04 pm
by WharfRat
Yes, it is mounting read only so what you will have to do is first umount it

Code: Select all

sudo umount /dev/mmcblk0p1
then remount it with

Code: Select all

sudo mount -t vfat -o rw,dmask=002,fmask=111,uid=1000,gid=1000 /dev/mmcblk0p1 /mnt 
That should do it. Your access to it will be at the folder /mnt

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Wed Dec 30, 2015 7:07 am
by Chimera
I use latest Mint 17.1.
Same problems here, can write to diverent SD cards.

Isn't there a simple solution, that every SD card can be writeable?
Why are there no write problems with USB sticks?

And what's the most easiest way to write to a SD card on Linux with write problems?

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Thu Dec 31, 2015 1:51 pm
by cogier
This is probably because you are using the Nemo File Manager. It is a known bug but there seems to be little motivation to sort it out.

Try installing Nautilus or Dolphin (or any other File Manager, there are loads in the Software Center) and trying again.

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Sat Jan 02, 2016 9:43 am
by MarkTheMorose
stephenleotti wrote:... I'm not a fan of USBs since they stick out too much.
Not a technical answer, but you can buy very short USB sticks, I've one here bought recently that's only 25mm long, including the USB plug. It sticks out only 12mm or so when plugged in.

Kingston DataTraveler Micro, mine is 8GB, they also have 16, 32, and 64GB versions.

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Sun Jan 03, 2016 9:33 pm
by pfd27
Has there ever been a fix for this? Im having the same issue in mate with caja

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Mon Jan 04, 2016 1:26 am
by Spearmint2
I use MATE and caja and don't have that problem. I just checked it now with SD card from my camera. I was able to view all files and to create 2 empty files on the SD card and then to delete them. Took opportunity to delete an unwanted old folder on it too. Maybe it has something to do with the particular SD card instead? Or how it's formatted by the device using it?

I used to have that problem with windows and found if I unplugged and replugged the SD card it then would allow access as normal. Check for a slider on side of the SD card that locks it.

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Mon Jan 04, 2016 4:34 am
by Chimera
Thx, tried all options and different sd cards..
Nothing works.
On windows no problems.

Re: Can't write files to SD Card -- Mint claims it's read on

Posted: Mon Jan 04, 2016 10:03 pm
by Spearmint2
Chimera wrote:Thx, tried all options and different sd cards..
Nothing works.
On windows no problems.
reformat it. See if the camera then recognizes it. If not, then the problem is created by formatting it in the camera instead of on computer.