Struggling with permissions

Tried commands again like you said, no change.
Disks show the card as mounted, I can't see how to check permissions using Disks, but looking at the properties of the card in Files does still show it as R+W for owner and group.
The card is working fine in my old macbook, as is the reader. The reader is a Sandisk dedicated mircoSD card reader that plugs into my usb.
So if I can read and write with the card on my Macbook then I'm assuming something is going wrong with Zorin on my laptop.

Your logic is sound.

But we run into this: Which is telling to me that the permissions are correct much like you are experiencing by seeing the card working properly on your Macbook.

Is this an external Plug n' Play card reader?
If so, can you list Make and Model? Maybe we need to look at its drivers. This wouldn't be my first suspect; but given all of the above, it is a stumper of an issue.
Secondly, can you verify that the files you are transferring are files owned by you and have rw permissions for your user?

SanDisk MobileMate USB 3.0 Reader SDDR-B531
It is an external plug n' play reader.
The files I'm transferring are definitely owned by me. I have just copied some of them to the mp3 player's own internal memory with no issues. The Mp3 player has a mircoSD card slot, to expand the memory.
I've had this card full of music before (all owned by me) and been able to transfer, edit etc fully using my current Zorin laptop. So it is as if the read only issue has developed over time and is now stuck like this. I'm assuming this is a software issue and can be rectified.

Have you tried using a different USB port for the Reader?

Can you please relay the output of

cat /etc/fstab

Which kernel are you on?

uname -r

Are you willing to test an earlier kernel and see if the issue persists on it?

Output from cat /etc/fstab;

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=ffb294c0-a5d4-48db-880a-e6459edbc657 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=B1E1-CBA2  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
uname -r
5.15.0-87-generic

I am willing to test an earlier kernel if you walk me through it.
I have tried other usb ports, makes no difference.

If your Grub Menu does not appear at boot, you can follow the steps here to pull up the grub menu.
In short, bap the esc or tab key like a wildman as soon as you begin to see the motherboard splash sceen.
From the grub menu, choose Advanced Options for Zorin
then select the option for Zorin on 5.15.0-83 or Zorin on 5.15.0-84
Do not select the one with `(Recovery) after it. That will take you to the recovery menu instead of booting the computer.

Once you reach the desktop, check your kernel to make sure you are no longer on the 5.15.0-87

uname -r

Then test your SDCard...

What is the capacity of the microSD card?
When formating the microSD card, what format did you use?

I'm missing something here.
I got into the Grub screen easily enough, but there is no menu there. It says "Tab shows possible commands", I press tab and a list of commands comes up but I don't see anything that includes "menu" or "advanced options".
So I typed reboot to reboot, not sure how to navigate that screen other than that!

It's a 64gb card.
I formatted it on my old macbook to Mac os Journaled.
Before that when I tried to format it using Disks on Zorin it didn't actually complete the formatting, although Disks appeared to go through the motions...

~$ lshw
WARNING: you should run this program as super-user.
laptop
description: Computer
width: 64 bits
capabilities: smp vsyscall32
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 16GiB
*-cpu
product: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
size: 2905MHz
capacity: 3200MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap intel_pt xsaveopt dtherm ida arat pln pts md_clear flush_l1d cpufreq
*-pci
description: Host bridge
product: Broadwell-U Host Bridge -OPI
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 09
width: 32 bits
clock: 33MHz
configuration: driver=bdw_uncore
resources: irq:0
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:49 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
*-multimedia:0
description: Audio device
product: Broadwell-U Audio Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:52 memory:f723c000-f723ffff
*-generic
description: Signal processing controller
product: Broadwell-U Processor Thermal Subsystem
vendor: Intel Corporation
physical id: 4
bus info: pci@0000:00:04.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: driver=proc_thermal latency=0
resources: irq:16 memory:f7230000-f7237fff
*-usb:0
description: USB controller
product: Wildcat Point-LP USB xHCI Controller
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:46 memory:f7220000-f722ffff
*-communication
description: Communication controller
product: Wildcat Point-LP MEI Controller #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:50 memory:f7246000-f724601f
*-network
description: Ethernet interface
product: Ethernet Connection (3) I218-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 03
serial: 34:e6:d7:7d:e3:c2
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.15.0-87-generic duplex=full firmware=0.2-3 ip=192.168.1.4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:45 memory:f7200000-f721ffff memory:f7243000-f7243fff ioport:f080(size=32)
*-multimedia:1
description: Audio device
product: Wildcat Point-LP High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:53 memory:f7238000-f723bfff
*-pci:0
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:42 memory:f7100000-f71fffff
*-generic
description: SD Host controller
product: SD/MMC Card Reader Controller
vendor: O2 Micro, Inc.
physical id: 0
bus info: pci@0000:01:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=sdhci-pci latency=0
resources: irq:48 memory:f7101000-f7101fff memory:f7100000-f71007ff
*-pci:1
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:43 memory:f7000000-f70fffff
*-network DISABLED
description: Wireless interface
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 59
serial: 5c:e0:c5:37:17:f7
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.15.0-87-generic firmware=29.1654887522.0 7265D-29.ucode latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:51 memory:f7000000-f7001fff
*-pci:2
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #5
vendor: Intel Corporation
physical id: 1c.4
bus info: pci@0000:00:1c.4
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:44
*-usb:1
description: USB controller
product: Wildcat Point-LP USB EHCI Controller
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:21 memory:f7242000-f72423ff
*-isa
description: ISA bridge
product: Wildcat Point-LP LPC Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-raid
description: RAID bus controller
product: 82801 Mobile SATA Controller [RAID mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 03
width: 32 bits
clock: 66MHz
capabilities: raid bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:47 ioport:f0d0(size=8) ioport:f0c0(size=4) ioport:f0b0(size=8) ioport:f0a0(size=4) ioport:f060(size=32) memory:f7241000-f72417ff
*-serial UNCLAIMED
description: SMBus
product: Wildcat Point-LP SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 03
width: 64 bits
clock: 33MHz
configuration: latency=0
resources: memory:f7240000-f72400ff ioport:f040(size=32)
*-pnp00:00
product: PnP device PNP0c02
physical id: 2
capabilities: pnp
configuration: driver=system
*-pnp00:01
product: PnP device PNP0b00
physical id: 3
capabilities: pnp
configuration: driver=rtc_cmos
*-pnp00:02
product: PnP device INT3f0d
physical id: 4
capabilities: pnp
configuration: driver=system
*-pnp00:03
product: PnP device PNP0303
physical id: 5
capabilities: pnp
configuration: driver=i8042 kbd
*-pnp00:04
product: PnP device DLL062b
physical id: 6
capabilities: pnp
configuration: driver=i8042 aux
*-pnp00:05
product: PnP device PNP0401
physical id: 7
capabilities: pnp
*-pnp00:06
product: PnP device PNP0c02
physical id: 8
capabilities: pnp
configuration: driver=system
*-pnp00:07
product: PnP device PNP0c02
physical id: 9
capabilities: pnp
configuration: driver=system
*-scsi
physical id: 1
bus info: scsi@2
logical name: scsi2
capabilities: scsi-host
configuration: driver=usb-storage
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

Nope, but I was repeatedly pressing Esc as it booted as described earlier, is there another way I should do it?

Apologies! I forgot to have the card reader inserted when I ran the command....

WARNING: you should run this program as super-user.
laptop
description: Computer
width: 64 bits
capabilities: smp vsyscall32
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 16GiB
*-cpu
product: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
size: 2047MHz
capacity: 3200MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap intel_pt xsaveopt dtherm ida arat pln pts md_clear flush_l1d cpufreq
*-pci
description: Host bridge
product: Broadwell-U Host Bridge -OPI
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 09
width: 32 bits
clock: 33MHz
configuration: driver=bdw_uncore
resources: irq:0
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:49 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
*-multimedia:0
description: Audio device
product: Broadwell-U Audio Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:52 memory:f723c000-f723ffff
*-generic
description: Signal processing controller
product: Broadwell-U Processor Thermal Subsystem
vendor: Intel Corporation
physical id: 4
bus info: pci@0000:00:04.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: driver=proc_thermal latency=0
resources: irq:16 memory:f7230000-f7237fff
*-usb:0
description: USB controller
product: Wildcat Point-LP USB xHCI Controller
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:46 memory:f7220000-f722ffff
*-communication
description: Communication controller
product: Wildcat Point-LP MEI Controller #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:50 memory:f7246000-f724601f
*-network
description: Ethernet interface
product: Ethernet Connection (3) I218-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 03
serial: 34:e6:d7:7d:e3:c2
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.15.0-87-generic duplex=full firmware=0.2-3 ip=192.168.1.4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:45 memory:f7200000-f721ffff memory:f7243000-f7243fff ioport:f080(size=32)
*-multimedia:1
description: Audio device
product: Wildcat Point-LP High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:53 memory:f7238000-f723bfff
*-pci:0
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:42 memory:f7100000-f71fffff
*-generic
description: SD Host controller
product: SD/MMC Card Reader Controller
vendor: O2 Micro, Inc.
physical id: 0
bus info: pci@0000:01:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=sdhci-pci latency=0
resources: irq:48 memory:f7101000-f7101fff memory:f7100000-f71007ff
*-pci:1
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:43 memory:f7000000-f70fffff
*-network DISABLED
description: Wireless interface
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 59
serial: 5c:e0:c5:37:17:f7
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.15.0-87-generic firmware=29.1654887522.0 7265D-29.ucode latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:51 memory:f7000000-f7001fff
*-pci:2
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #5
vendor: Intel Corporation
physical id: 1c.4
bus info: pci@0000:00:1c.4
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:44
*-usb:1
description: USB controller
product: Wildcat Point-LP USB EHCI Controller
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:21 memory:f7242000-f72423ff
*-isa
description: ISA bridge
product: Wildcat Point-LP LPC Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-raid
description: RAID bus controller
product: 82801 Mobile SATA Controller [RAID mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 03
width: 32 bits
clock: 66MHz
capabilities: raid bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:47 ioport:f0d0(size=8) ioport:f0c0(size=4) ioport:f0b0(size=8) ioport:f0a0(size=4) ioport:f060(size=32) memory:f7241000-f72417ff
*-serial UNCLAIMED
description: SMBus
product: Wildcat Point-LP SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 03
width: 64 bits
clock: 33MHz
configuration: latency=0
resources: memory:f7240000-f72400ff ioport:f040(size=32)
*-pnp00:00
product: PnP device PNP0c02
physical id: 2
capabilities: pnp
configuration: driver=system
*-pnp00:01
product: PnP device PNP0b00
physical id: 3
capabilities: pnp
configuration: driver=rtc_cmos
*-pnp00:02
product: PnP device INT3f0d
physical id: 4
capabilities: pnp
configuration: driver=system
*-pnp00:03
product: PnP device PNP0303
physical id: 5
capabilities: pnp
configuration: driver=i8042 kbd
*-pnp00:04
product: PnP device DLL062b
physical id: 6
capabilities: pnp
configuration: driver=i8042 aux
*-pnp00:05
product: PnP device PNP0401
physical id: 7
capabilities: pnp
*-pnp00:06
product: PnP device PNP0c02
physical id: 8
capabilities: pnp
configuration: driver=system
*-pnp00:07
product: PnP device PNP0c02
physical id: 9
capabilities: pnp
configuration: driver=system
*-scsi
physical id: 1
bus info: scsi@2
logical name: scsi2
capabilities: scsi-host
configuration: driver=usb-storage
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

I also have a usb keyboard and usb mouse connected full time...

This is what I get;

modprobe --remove sdhci-pci
modprobe: ERROR: ../libkmod/libkmod-module.c:799 kmod_module_remove_module() could not remove 'sdhci_pci': Operation not permitted

Ok so I ran the two commands with reboots in between.
There was no response in terminal other than requesting my password.
There is no change with the SD card, still read only...

1 Like

As it worked previously, and stopped working on the Current Supplied Kernel Drivers, have you yet accessed Advanced Options for Zorin and tried the earlier kernel?

2 Likes

Being a USB card reader, is your user in the dialout group? You could try sudo chmod 600 /dev/ttyUSBx before formatting to see if it is group related; x being the device number for the card reader since keyboard / mouse are also USB (ttyUSB0-1-2-3- etc.).

Are you able to format the SD card in the MP3 player device? I'm wondering what would happen if you did, and if so - what format :thinking: .. had to add exFAT support for some of my weirder devices..

I'm still not sure how to access that menu as when I press Esc during boot it doesn't take me to that menu, I got into the Grub screen easily enough, but there is no menu there. It says "Tab shows possible commands", I press tab and a list of commands comes up but I don't see anything that includes "menu" or "advanced options".

Please post the output of

cat /etc/default/grub

You only need to post these parts:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3"
GRUB_CMDLINE_LINUX=""

I would need a little help here, how do I identify the USB number?

This was what I had originally done and it uses msdos FAT32.
So I've done this now and the SD card is now writeable, but I know over time this won't stick as it's the same scenario that I was in when the permissions started to act up previously...