You are not logged in.

#1 2015-03-12 17:32:13

robg
Member
Registered: 2015-03-05
Posts: 218

The right way to mount a USB? [SOLVED]

I have recently installed Arch and pretty much everything is up and running. Some details are, however, still annoying me a little. One problem is concerning my USB flash drive: I have installed XFCE as a DE but upon plugging in a flash drive it is not mounted (The option is set in thunar-volman). I figured that it is probably due to permissions: When running:

mount /dev/sdb /home/user/usb

I get the message: only root can do that. It works perfectly fine with sudo. This leaves me puzzled though, as the permissions for mount read: -rwsr-xr-x  root root. So a user should be able to execute it.

How can I make this work for a non-root user? Or is it even a permission-related issue?

Thanks in advance.
Rob G.

Last edited by robg (2015-03-12 19:28:33)

Offline

#2 2015-03-12 18:17:12

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: The right way to mount a USB? [SOLVED]

AFAIK those permissions are handled by udisks. See if there is anything relevant in this article.

Offline

#3 2015-03-12 18:34:42

Ziusudra
Member
Registered: 2014-04-19
Posts: 120

Re: The right way to mount a USB? [SOLVED]

The permission issue is not from executing mount but from fstab.

Offline

#4 2015-03-12 19:12:10

robg
Member
Registered: 2015-03-05
Posts: 218

Re: The right way to mount a USB? [SOLVED]

Thanks a lot for the advice: It turns out udisks was not installed. But neither running pacman -S udisks2 nor adding the suggested line to the fstab file resolved my issue. Thunar still doesn't mount my device automatically and mount still requires sudo. As no error message is printed: Is there maybe some log file that would help you guys out?

Last edited by robg (2015-03-12 19:18:35)

Offline

#5 2015-03-12 19:22:13

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: The right way to mount a USB? [SOLVED]

Offline

#6 2015-03-12 19:28:10

robg
Member
Registered: 2015-03-05
Posts: 218

Re: The right way to mount a USB? [SOLVED]

Turns out this was the problem (GVFS not installed).
Another nice reminder of Arch's "you are in control" philosophy.

Cheers!

Offline

Board footer

Powered by FluxBB