I have a 32gb class 10 sd card. The disk shows up un disk utility and is recognized in terminal but I can't do anything with it in Disk Utility and whenever I give it a terminal command it says I don't have permission. The command I tried was diskutil eraseVolume HFS+ newdisk /dev/disk1 and it comes up with the following:
Started erase on disk1
Unmounting disk
Error: -69877: Couldn't open device
Started erase on disk1
Unmounting disk
Error: -69877: Couldn't open device