When plugging in my SD card, I get a message saying "not authorized to perform operation." I can mount it using sudo, but I can't create files on it in nautilus unless I'm running it as root.
sudo chown -R user:user sdcard
gives me: chown: changing ownership of 'sdcard': Operation not permitted
I tried reinstalling policykit, and it changed nothing.
Edit: I reinstalled ubuntu 18.04 the sd card worked for awhile, then I tried plugging in a usb 3.0 jumpdrive that I just bought, and I got notified of a software update, so I updated, and now I'm back in the same situation... my apt histoty:
Start-Date: 2019-12-21 21:14:00
Commandline: aptdaemon role='role-commit-packages' sender=':1.122'
Upgrade: python3-software-properties:amd64 (0.96.24.32.11, 0.96.24.32.12), python2.7-minimal:amd64 (2.7.15-4ubuntu4~18.04.2, 2.7.17-1~18.04), libpython2.7:amd64 (2.7.15-4ubuntu4~18.04.2, 2.7.17-1~18.04), google-chrome-stable:amd64 (79.0.3945.79-1, 79.0.3945.88-1), python2.7:amd64 (2.7.15-4ubuntu4~18.04.2, 2.7.17-1~18.04), software-properties-gtk:amd64 (0.96.24.32.11, 0.96.24.32.12), ubuntu-drivers-common:amd64 (1:0.5.2.4, 1:0.5.2.5), libpython2.7-minimal:amd64 (2.7.15-4ubuntu4~18.04.2, 2.7.17-1~18.04), linux-firmware:amd64 (1.173.13, 1.173.14), libpython2.7-stdlib:amd64 (2.7.15-4ubuntu4~18.04.2, 2.7.17-1~18.04), software-properties-common:amd64 (0.96.24.32.11, 0.96.24.32.12)
End-Date: 2019-12-21 21:14:46
dmesg | tail:
[ 4656.901658] scsi host6: usb-storage 3-2:1.0
[ 4657.920932] scsi 6:0:0:0: Direct-Access Generic Mass-Storage 1.11 PQ: 0 ANSI: 2
[ 4657.922055] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 4658.654229] sd 6:0:0:0: [sdb] 30930944 512-byte logical blocks: (15.8 GB/14.7 GiB)
[ 4658.654485] sd 6:0:0:0: [sdb] Write Protect is off
[ 4658.654490] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 4658.654749] sd 6:0:0:0: [sdb] No Caching mode page found
[ 4658.654755] sd 6:0:0:0: [sdb] Assuming drive cache: write through
/etc/fstab
with the same mount options as you use 'manually' plusauto
ornoauto
. Withnoauto
you need not specify all opitions. It is enough to specify the label or the mountpoint. See more details inman mount
andman fstab
. – sudodus Dec 10 '19 at 19:51chkdsk /f X:
where X is the drive letter for that card in Windows. – sudodus Dec 10 '19 at 20:33dpkg -l | grep mount
please. Normally it should be mount under /media/$USER/. Filesystem is? Any entries in /etc/fstab? USB sticks mounting without problems? – nobody Dec 11 '19 at 12:59dpkg -l | grep mount
givesii libmount1:amd64 2.31.1-0.4ubuntu3.4 amd64 device mounting library ii libmount1:i386 2.31.1-0.4ubuntu3.4 i386 device mounting library ii mount 2.31.1-0.4ubuntu3.4 amd64 tools for mounting and manipulating filesystems
filesystem is FAT32, fstab just has an entry for ext4 which I think may be the main filesystem, and swap space. Also same with usb. – buckithed Dec 11 '19 at 18:30