Gentoo Archives: gentoo-user

From: "Róbert Čerňanský" <openhs@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mounting USB without root password
Date: Sat, 30 Jan 2021 08:46:49
Message-Id: 20210130094639.591f270a.openhs@tightmail.com
In Reply to: Re: [gentoo-user] mounting USB without root password by "Matt Connell (Gmail)"
1 On Fri, 29 Jan 2021 12:23:19 -0600
2 "Matt Connell \(Gmail\)" <matthewdconnell@×××××.com> wrote:
3
4 > On Fri, 2021-01-29 at 10:40 -0700, thelma@×××××××××××.com wrote:
5 > > I reverse the setting in sudoers.
6 >
7 > > - Removable Drivers and Media: --> Mount removable drives when
8 > > hot-plugged.
9 >
10 > Nice. Glad you found the fix.
11
12 And for completeness, if you want some command line goodness, there is
13 sys-apps/pmount.
14
15 man pmount...
16 pmount - mount arbitrary hotpluggable devices as normal user
17
18 So for example:
19 $ pmount /dev/sdc1
20
21 Mounts removable drive to /media/sdc1.
22
23 Then:
24 $ pumount /media/sdc1
25
26 Unmounts it.
27
28
29 --
30 Róbert Čerňanský
31 E-mail: openhs@×××××××××.com
32 Jabber: hs@××××××.sk

Replies

Subject Author
Re: [gentoo-user] mounting USB without root password Neil Bothwick <neil@××××××××××.uk>