You are not logged in.

#1 2014-04-27 02:56:18

hooya
Member
Registered: 2011-10-09
Posts: 99

All USB drives mount as read only for user

I have searched a bunch and thee results I find seem to be irrelevant to my situation. Most relate to a single USB media that is a problem and won't read or write.

On a new Arch install on a new computer (my third base system install). Running Gnome.
All USB mass storage devices mount as read only for the logged in user. Root has write permissions and I can mkdir no problem. It is not an issue with the USB drive itself as this occurs with multiple USB media (I've tested several SD cards on a reader and at least two drives, all the media works correctly on my existing installations)

I'm posting the contents of my /etc/group file in case there's an obvious error there I don't see, and my dmesg output upon plugging in the drive. User name is changed in the group file posted to "archie"
This is a single-user system.

/ect/group

root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin
adm:x:4:root,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon
mem:x:8:
kmem:x:9:
wheel:x:10:root,archie
ftp:x:11:
mail:x:12:
uucp:x:14:archie
log:x:19:root
utmp:x:20:
locate:x:21:
rfkill:x:24:
smmsp:x:25:
http:x:33:
games:x:50:
lock:x:54:
uuidd:x:68:
dbus:x:81:
network:x:90:
video:x:91:
audio:x:92:
optical:x:93:
floppy:x:94:
storage:x:95:
scanner:x:96:
power:x:98:
nobody:x:99:
users:x:100:archie
systemd-journal:x:190:
archie:x:1000:
avahi:x:84:
polkitd:x:102:
rtkit:x:133:
gdm:x:120:
brlapi:x:999:
kvm:x:78:
ntp:x:87:archie

dmesg output

[  968.044188] usb 4-3: new high-speed USB device number 4 using ehci-pci
[  968.170628] usb-storage 4-3:1.0: USB Mass Storage device detected
[  968.171435] scsi7 : usb-storage 4-3:1.0
[  969.174450] scsi 7:0:0:0: Direct-Access     Generic  USB SD Reader    1.00 PQ: 0 ANSI: 0
[  969.175068] scsi 7:0:0:1: Direct-Access     Generic  USB MS Reader    1.03 PQ: 0 ANSI: 0
[  969.939417] sd 7:0:0:0: [sdb] 15572992 512-byte logical blocks: (7.97 GB/7.42 GiB)
[  969.941028] sd 7:0:0:0: [sdb] Write Protect is off
[  969.941037] sd 7:0:0:0: [sdb] Mode Sense: 03 00 00 00
[  969.944664] sd 7:0:0:1: [sdc] Attached SCSI removable disk
[  969.945509] sd 7:0:0:0: [sdb] No Caching mode page found
[  969.945517] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[  969.952682] sd 7:0:0:0: [sdb] No Caching mode page found
[  969.952693] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[  969.956396]  sdb: sdb1
[  969.965003] sd 7:0:0:0: [sdb] No Caching mode page found
[  969.965011] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[  969.965015] sd 7:0:0:0: [sdb] Attached SCSI removable disk

I'm sure I'm just missing something in user management, but I can't find what.

Last edited by hooya (2014-04-27 03:10:49)

Offline

#2 2014-04-27 09:55:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: All USB drives mount as read only for user

How exactly do you mount these media?

Offline

#3 2015-01-16 22:11:39

birchbark
Member
Registered: 2015-01-16
Posts: 5

Re: All USB drives mount as read only for user

I am also having the same problem. Root can read and write to automounted drives, but my user cannot. I've tried with a variety of drives, I am assuming they are being automounted by root instead of the logged-in user somehow. (I am running x directly, and am not using a display manager, if that has anything to do with it).

When I look at how it is mounted it is as follows:

/dev/sdc1 on /run/media/myuser/drivename type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

Offline

#4 2015-01-16 22:17:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: All USB drives mount as read only for user

What do "id" (run as your user) and "ls -la /run/media/myuser/drivename" show?

Offline

Board footer

Powered by FluxBB