read only SD card

Gary J. Kirkpatrick garyartista at gmail.com
Sun May 11 10:28:58 UTC 2014


On Sun, May 11, 2014 at 12:20 PM, Colin Law <clanlaw at gmail.com> wrote:

> On 11 May 2014 10:50, Gary J. Kirkpatrick <garyartista at gmail.com> wrote:
> >
> >
> >
> > On Sun, May 11, 2014 at 11:08 AM, Colin Law <clanlaw at gmail.com> wrote:
> >>
> >> On 11 May 2014 08:45, Gary J. Kirkpatrick <garyartista at gmail.com>
> wrote:
> >> > On Ubuntu 14.04 my SD card will open in read only mode.  This happened
> >> > suddenly.  The card has full read/write permissions on my netbook
> >> > running
> >> > 12.04.  I can not copy or write to it within 14.04 no matter where I
> put
> >> > the
> >> > switch on the SD canrd.
> >> >
> >> > Sounds like a permigassions issue.  Any suggestions?
> >>
> >> Permigassions can certainly problematic.
> >>
> >> What does dmesg show about it after plugging it in?
> >> If you right click a file there and look at Properties > Permissions
> >> what does it show?
> >>
> >
> > 1) In dmesg is there a way to limit the output to a device, in this case
> > sda1?  This machine runs of an external hard drive.
>
> Not sure what you mean by limit the output to a device.  Do you mean
> see the relevant bits of dmesg?  Is so then run dmesg with the card
> out and see what the last messages are.  Plug the card in and run
> dmesg again.  See what has been added.
>
> > 2) Permissions in nautical show owner as "Me" with Create and Delete,
> Gary14
> > with no permission to read write.  Gary14 is listed as a user but there
> is
> > no way to change any properties of this user.  Gary14 is the user name on
> > this computer.
>
> I presume you mean that it is showing Me as the owner and Gary14 as
> the group, both with full permissions so that is ok.  I presume you
> mean that it will not let you modify the permissions for the user or
> the group, but since those are stored on the card that is not
> surprising if it has mounted read only.
>
> Colin
>


Here is the output after I inserted the card:

[21527.842962] usb 1-1.5: new high-speed USB device number 15 using ehci-pci
[21527.951045] usb 1-1.5: New USB device found, idVendor=0bda,
idProduct=0158
[21527.951054] usb 1-1.5: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[21527.951059] usb 1-1.5: Product: USB2.0-CRW
[21527.951063] usb 1-1.5: Manufacturer: Generic
[21527.951066] usb 1-1.5: SerialNumber: 20071114173400000
[21527.956466] ums-realtek 1-1.5:1.0: USB Mass Storage device detected
[21527.969498] scsi17 : usb-storage 1-1.5:1.0
[21528.969766] scsi 17:0:0:0: Direct-Access     Generic- Multi-Card
1.00 PQ: 0 ANSI: 0 CCS
[21528.970111] sd 17:0:0:0: Attached scsi generic sg1 type 0
[21529.685584] sd 17:0:0:0: [sda] 7829504 512-byte logical blocks: (4.00
GB/3.73 GiB)
[21529.687528] sd 17:0:0:0: [sda] Write Protect is on
[21529.687537] sd 17:0:0:0: [sda] Mode Sense: 03 00 80 00
[21529.689092] sd 17:0:0:0: [sda] No Caching mode page found
[21529.689096] sd 17:0:0:0: [sda] Assuming drive cache: write through
[21529.696107] sd 17:0:0:0: [sda] No Caching mode page found
[21529.696114] sd 17:0:0:0: [sda] Assuming drive cache: write through
[21529.697174]  sda: sda1
[21529.702793] sd 17:0:0:0: [sda] No Caching mode page found
[21529.702800] sd 17:0:0:0: [sda] Assuming drive cache: write through
[21529.702805] sd 17:0:0:0: [sda] Attached SCSI removable disk
[21532.102312] systemd-hostnamed[14798]: Warning: nss-myhostname is not
installed. Changing the local hostname might make it unresolveable. Please
install nss-myhostname!


It says write protect is on, but it is not on the card itself.

Gary14 has no permissions at all.  'Me' has all the permissions.


garyk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140511/cad495bc/attachment.html>


More information about the ubuntu-users mailing list