all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Package requests: Udisks helpers (udiskie, udevil)
@ 2018-03-29  9:02 Pierre Neidhardt
  2018-03-29 10:17 ` Ricardo Wurmus
  0 siblings, 1 reply; 15+ messages in thread
From: Pierre Neidhardt @ 2018-03-29  9:02 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]


At the moment, Guix does not seem to feature any helper to auto-mount
disks managed by udisks (such as external hard drives).

Common options include

udiskie: 	Removable disk automounter using udisks
Upstream URL: 	https://pypi.python.org/pypi/udiskie

udevil: 	Mount and unmount without password
Upstream URL: 	http://ignorantguru.github.com/udevil/

I'm willing to package one of them.  Does anyone have an opinion on the matter?

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-03-29  9:02 Package requests: Udisks helpers (udiskie, udevil) Pierre Neidhardt
@ 2018-03-29 10:17 ` Ricardo Wurmus
  2018-03-29 10:22   ` Pierre Neidhardt
  0 siblings, 1 reply; 15+ messages in thread
From: Ricardo Wurmus @ 2018-03-29 10:17 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix


Hi Pierre,

> udevil: 	Mount and unmount without password
> Upstream URL: 	http://ignorantguru.github.com/udevil/

This is a setuid binary, which doesn’t seem like a good idea in general.

For what it’s worth, automounting works just fine for me.  When using
Nautilus USB drives are automatically detected and can be mounted (and
unmounted) with a single click.

Even without Nautilus you can mount and unmount drives without the need
for root privileges, e.g. with

    udisksctl mount -b /dev/sdb2
    udisksctl unmount -b /dev/sdb2

I’m curious: What do these tools offer compared to udiskctl or the magic
of Nautilus?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-03-29 10:17 ` Ricardo Wurmus
@ 2018-03-29 10:22   ` Pierre Neidhardt
  2018-03-30  4:40     ` Chris Marusich
  0 siblings, 1 reply; 15+ messages in thread
From: Pierre Neidhardt @ 2018-03-29 10:22 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]


I don't use Nautilus and I just want to automate the ~udisksctl mount~
command whenever a disk is plugged-in.
Some udev rules might be enough though.

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-03-29 10:22   ` Pierre Neidhardt
@ 2018-03-30  4:40     ` Chris Marusich
  2018-03-30  4:45       ` Pierre Neidhardt
                         ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Chris Marusich @ 2018-03-30  4:40 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 611 bytes --]

Pierre Neidhardt <ambrevar@gmail.com> writes:

> I don't use Nautilus

What do you use?  If you are using another desktop environment besides
GNOME, and automatic mounting of removable storage devices does not
occur, perhaps it's a bug we need to fix.  (And maybe that bug is as
simple as adding the packages you mentioned.)

> Some udev rules might be enough though.

That could very well be true!  I don't know a lot about how the various
desktop environments like GNOME auto-mount removable storage devices,
but I'd be surprised if you couldn't whip something up with udev rules.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-03-30  4:40     ` Chris Marusich
@ 2018-03-30  4:45       ` Pierre Neidhardt
  2018-03-30  9:49       ` Ricardo Wurmus
  2018-04-01  7:13       ` Pierre Neidhardt
  2 siblings, 0 replies; 15+ messages in thread
From: Pierre Neidhardt @ 2018-03-30  4:45 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]


Chris Marusich <cmmarusich@gmail.com> writes:

>> I don't use Nautilus
>
> What do you use?  If you are using another desktop environment besides
> GNOME, and automatic mounting of removable storage devices does not
> occur, perhaps it's a bug we need to fix.  (And maybe that bug is as
> simple as adding the packages you mentioned.)

I don't use a desktop environment.  More specifically, I use EXWM (Emacs
W Window Manager): https://github.com/ch11ng/exwm.

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-03-30  4:40     ` Chris Marusich
  2018-03-30  4:45       ` Pierre Neidhardt
@ 2018-03-30  9:49       ` Ricardo Wurmus
  2018-03-31 17:13         ` Ludovic Courtès
  2018-04-01  7:01         ` Pierre Neidhardt
  2018-04-01  7:13       ` Pierre Neidhardt
  2 siblings, 2 replies; 15+ messages in thread
From: Ricardo Wurmus @ 2018-03-30  9:49 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix


Chris Marusich <cmmarusich@gmail.com> writes:

> Pierre Neidhardt <ambrevar@gmail.com> writes:
>
>> I don't use Nautilus
>
> What do you use?  If you are using another desktop environment besides
> GNOME, and automatic mounting of removable storage devices does not
> occur, perhaps it's a bug we need to fix.  (And maybe that bug is as
> simple as adding the packages you mentioned.)

FWIW I don’t use GNOME (but I might start soon) and to enable
automounting I had to add the gvfs package to the global environment.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-03-30  9:49       ` Ricardo Wurmus
@ 2018-03-31 17:13         ` Ludovic Courtès
  2018-04-01  7:01         ` Pierre Neidhardt
  1 sibling, 0 replies; 15+ messages in thread
From: Ludovic Courtès @ 2018-03-31 17:13 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

Hello,

Ricardo Wurmus <rekado@elephly.net> skribis:

> Chris Marusich <cmmarusich@gmail.com> writes:
>
>> Pierre Neidhardt <ambrevar@gmail.com> writes:
>>
>>> I don't use Nautilus
>>
>> What do you use?  If you are using another desktop environment besides
>> GNOME, and automatic mounting of removable storage devices does not
>> occur, perhaps it's a bug we need to fix.  (And maybe that bug is as
>> simple as adding the packages you mentioned.)
>
> FWIW I don’t use GNOME (but I might start soon) and to enable
> automounting I had to add the gvfs package to the global environment.

Do you know exactly how gvfs interacts with udisks, and why it’s enough
to just add it to the global profile?  It’s always been a mystery to me.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-03-30  9:49       ` Ricardo Wurmus
  2018-03-31 17:13         ` Ludovic Courtès
@ 2018-04-01  7:01         ` Pierre Neidhardt
  2018-04-01  8:12           ` Pierre Neidhardt
  1 sibling, 1 reply; 15+ messages in thread
From: Pierre Neidhardt @ 2018-04-01  7:01 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]


Ricardo Wurmus <rekado@elephly.net> writes:

> FWIW I don’t use GNOME (but I might start soon) and to enable
> automounting I had to add the gvfs package to the global environment.

With Nautilus, right?  If you don't use Nautilus or any other
gvfs-based file browser, how do you get automounting?

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-03-30  4:40     ` Chris Marusich
  2018-03-30  4:45       ` Pierre Neidhardt
  2018-03-30  9:49       ` Ricardo Wurmus
@ 2018-04-01  7:13       ` Pierre Neidhardt
  2018-04-01  8:01         ` Pierre Neidhardt
  2018-04-01 19:45         ` Chris Marusich
  2 siblings, 2 replies; 15+ messages in thread
From: Pierre Neidhardt @ 2018-04-01  7:13 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]


Chris Marusich <cmmarusich@gmail.com> writes:

>> Some udev rules might be enough though.
>
> That could very well be true!  I don't know a lot about how the various
> desktop environments like GNOME auto-mount removable storage devices,
> but I'd be surprised if you couldn't whip something up with udev rules.

Thinking about it, I don't think that would work.  I haven't tested the
following, but let's consider the Udev rule:

	(define %automount-udev-rule
	  (udev-rule
	   "90-automount.rules"
	   (string-append "KERNEL=\"sd[a-z][0-9]\", ACTION==\"add\", SUBSYSTEM==\"usb\", "
	                  "RUN+=\"/run/current-system/profile/bin/udisksctl mount -b /dev/%k\"")))

It would mount the drive as root, not for the current user.
It's possible to mount the drives for every one though:

	(define %automount-udev-rule
	  (udev-rule
	   "90-automount.rules"
	   (string-append "KERNEL=\"sd[a-z][0-9]\", ACTION==\"add\", SUBSYSTEM==\"usb\", "
                    "ENV{UDISKS_FILESYSTEM_SHARED}=\"1\","
	                  "RUN+=\"/run/current-system/profile/bin/udisksctl mount -b /dev/%k\"")))

Conclusion: a udev rule might solve part of the problem (auto-mounting) but
it does not allow for per-user mount points.

In the end, udiskie might be the better option.  What do you think?

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-04-01  7:13       ` Pierre Neidhardt
@ 2018-04-01  8:01         ` Pierre Neidhardt
  2018-04-01 19:45         ` Chris Marusich
  1 sibling, 0 replies; 15+ messages in thread
From: Pierre Neidhardt @ 2018-04-01  8:01 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 5906 bytes --]


Pierre Neidhardt <ambrevar@gmail.com> writes:

> It's possible to mount the drives for every one though:
>
> 	(define %automount-udev-rule
> 	  (udev-rule
> 	   "90-automount.rules"
> 	   (string-append "KERNEL=\"sd[a-z][0-9]\", ACTION==\"add\", SUBSYSTEM==\"usb\", "
>                     "ENV{UDISKS_FILESYSTEM_SHARED}=\"1\","
> 	                  "RUN+=\"/run/current-system/profile/bin/udisksctl mount -b /dev/%k\"")))

The above rule does not seem to work.

When I try to debug it, udevadm fails to see the new 90-automount rule:

	> udevadm test {udevadm info -q path -n /dev/sda1}
	calling: test
	version 3.2.4
	This program is for debugging only, it does not run any program
	specified by a RUN key. It may show incorrect results, because
	some values may be different, or not available at a simulation run.
	
	=== trie on-disk ===
	tool version:          3
	file size:         7431994 bytes
	header size             80 bytes
	strings            1901394 bytes
	nodes              5530520 bytes
	Load module index
	timestamp of '/gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/etc/udev/rules.d' changed
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/50-udev-default.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-block.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-cdrom_id.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-drm.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-evdev.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-persistent-alsa.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-persistent-input.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-persistent-storage-tape.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-persistent-storage.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-persistent-v4l.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-sensor.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/60-serial.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/64-btrfs.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/70-mouse.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/70-touchpad.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/75-net-description.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/75-probe_mtd.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/78-sound-card.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/80-drivers.rules
	Reading rules file: /gnu/store/8ylaz1xxb15iq3x1nvbz9rz2c5clq3d5-eudev-3.2.4/lib/udev/rules.d/80-net-name-slot.rules
	rules contain 24576 bytes tokens (2048 * 12 bytes), 8930 bytes strings
  # ...

I guess Guix passes some "path" parameters to udev which are missing
above.  The proper path for the rules on my system is:

	> ll /gnu/store/w1f960p754f5vvbv2mnpfsdbp583hfk7-udev-rules/lib/udev/rules.d
	total 3.7k
	lrwxrwxrwx   6 root           root      86 1970-01-01  1970 10-dm.rules -> /gnu/store/rj2da82v4ii1sy2pzb618x1dyxyz4h33-lvm2-2.02.177/lib/udev/rules.d/10-dm.rules
	lrwxrwxrwx   6 root           root      90 1970-01-01  1970 11-dm-lvm.rules -> /gnu/store/rj2da82v4ii1sy2pzb618x1dyxyz4h33-lvm2-2.02.177/lib/udev/rules.d/11-dm-lvm.rules
	# ...
	lrwxrwxrwx  44 root           root      99 1970-01-01  1970 90-alsa-restore.rules -> /gnu/store/w004ykh4r8cqdpxb8jp59h8h40ly32g6-alsa-utils-1.1.5/lib/udev/rules.d/90-alsa-restore.rules
	lrwxrwxrwx   2 root           root      98 1970-01-01  1970 90-automount.rules -> /gnu/store/aw9vk500s6zycpr2rb8aih5cjgc8rmw9-90-automount.rules/lib/udev/rules.d/90-automount.rules
	lrwxrwxrwx   5 root           root      98 1970-01-01  1970 90-backlight.rules -> /gnu/store/j5gdha1vkk5qy94404i2r7p8ky9hq3fw-90-backlight.rules/lib/udev/rules.d/90-backlight.rules
	lrwxrwxrwx   6 root           root      86 1970-01-01  1970 90-kvm.rules -> /gnu/store/3c6bg9cj88gvg034mkj2iyh9i77fscdm-90-kvm.rules/lib/udev/rules.d/90-kvm.rules
	lrwxrwxrwx   4 root           root      93 1970-01-01  1970 95-cd-devices.rules -> /gnu/store/hbmdjn7v0hqypp3f2j49fd3kknxqxyj2-colord-1.1.8/lib/udev/rules.d/95-cd-devices.rules
	lrwxrwxrwx   6 root           root      93 1970-01-01  1970 95-dm-notify.rules -> /gnu/store/rj2da82v4ii1sy2pzb618x1dyxyz4h33-lvm2-2.02.177/lib/udev/rules.d/95-dm-notify.rules
	lrwxrwxrwx  10 root           root      94 1970-01-01  1970 95-upower-csr.rules -> /gnu/store/fpcs8hafs1ph6s3m8jf9r42y6h1nsgx4-upower-0.99.4/lib/udev/rules.d/95-upower-csr.rules
	lrwxrwxrwx  10 root           root      94 1970-01-01  1970 95-upower-hid.rules -> /gnu/store/fpcs8hafs1ph6s3m8jf9r42y6h1nsgx4-upower-0.99.4/lib/udev/rules.d/95-upower-hid.rules
	lrwxrwxrwx  10 root           root      94 1970-01-01  1970 95-upower-wup.rules -> /gnu/store/fpcs8hafs1ph6s3m8jf9r42y6h1nsgx4-upower-0.99.4/lib/udev/rules.d/95-upower-wup.rules
	lrwxrwxrwx   6 root           root      85 1970-01-01  1970 99-fuse.rules -> /gnu/store/w2cb3077743ahzhba7x2qi9b2bm4i3q1-fuse-2.9.7/lib/udev/rules.d/99-fuse.rules

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-04-01  7:01         ` Pierre Neidhardt
@ 2018-04-01  8:12           ` Pierre Neidhardt
  2018-04-01 19:42             ` Chris Marusich
  0 siblings, 1 reply; 15+ messages in thread
From: Pierre Neidhardt @ 2018-04-01  8:12 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]


Alternatively, it's also possible to roll out our own 10-line user
script:

	https://wiki.archlinux.org/index.php/Udisks#udevadm_monitor

Save it in your PATH as, say, udisks-automount, then add the following
to your startup files (e.g. .profile):

	udisks-automount &

--
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-04-01  8:12           ` Pierre Neidhardt
@ 2018-04-01 19:42             ` Chris Marusich
  0 siblings, 0 replies; 15+ messages in thread
From: Chris Marusich @ 2018-04-01 19:42 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]

Pierre Neidhardt <ambrevar@gmail.com> writes:

> Alternatively, it's also possible to roll out our own 10-line user
> script:
>
> 	https://wiki.archlinux.org/index.php/Udisks#udevadm_monitor
>
> Save it in your PATH as, say, udisks-automount, then add the following
> to your startup files (e.g. .profile):
>
> 	udisks-automount &
>
> --
> Pierre Neidhardt

Sounds like a neat hack!  Is that script supposed to run as an
unprivileged user?  How does this compare to using udev rules?

I enjoy the fact that Nautilus usually "just works" (although I don't
understand how it automatically mounts drives), but on a headless server
without Nautilus, the only experience I have with auto-mounting drives
is by creating custom udev rules along these lines:

https://www.axllent.org/docs/view/auto-mounting-usb-storage/

Using udev, it is possible to customize the way in which disks are
mounted.  You can specify things like the path where it is mounted, the
owner, and the permissions, and you can arrange for the rules to only
apply to specific devices or types of devices, which is quite handy.

However, crafting (and then installing) udev rules is not a very
user-friendly experience.  If there's something we can do in GuixSD to
make it easier to enable auto-mounting for users who choose not to use
Nautilus, that would be awesome!

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-04-01  7:13       ` Pierre Neidhardt
  2018-04-01  8:01         ` Pierre Neidhardt
@ 2018-04-01 19:45         ` Chris Marusich
  2018-04-02  4:10           ` Pierre Neidhardt
  1 sibling, 1 reply; 15+ messages in thread
From: Chris Marusich @ 2018-04-01 19:45 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]

Pierre Neidhardt <ambrevar@gmail.com> writes:

> Conclusion: a udev rule might solve part of the problem (auto-mounting) but
> it does not allow for per-user mount points.
>
> In the end, udiskie might be the better option.  What do you think?

My only experience here is in using udev rules to mount disks in systems
as a specific unprivileged user.  I would install the rule as a
privileged user, and then enjoy the automatic mounting as an
unprivileged user.  I don't know how to accomplish that for multiple
unprivileged users, and I don't know how to accomplish it without
installing the udev rules as a privileged user first.  It could very
well be that helper programs like udiskie provide those sort of
features.  If so, then that's probably the right path, I think.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-04-01 19:45         ` Chris Marusich
@ 2018-04-02  4:10           ` Pierre Neidhardt
  2018-04-02  4:17             ` Pierre Neidhardt
  0 siblings, 1 reply; 15+ messages in thread
From: Pierre Neidhardt @ 2018-04-02  4:10 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]


Chris Marusich <cmmarusich@gmail.com> writes:

> My only experience here is in using udev rules to mount disks in systems
> as a specific unprivileged user.  I would install the rule as a
> privileged user, and then enjoy the automatic mounting as an
> unprivileged user.

Can you share those udev rules?  Thanks!

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Package requests: Udisks helpers (udiskie, udevil)
  2018-04-02  4:10           ` Pierre Neidhardt
@ 2018-04-02  4:17             ` Pierre Neidhardt
  0 siblings, 0 replies; 15+ messages in thread
From: Pierre Neidhardt @ 2018-04-02  4:17 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]


Pierre Neidhardt <ambrevar@gmail.com> writes:

> Can you share those udev rules?  Thanks!

Forget it, just saw your other e-mail in this thread! :p

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-04-02  4:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-29  9:02 Package requests: Udisks helpers (udiskie, udevil) Pierre Neidhardt
2018-03-29 10:17 ` Ricardo Wurmus
2018-03-29 10:22   ` Pierre Neidhardt
2018-03-30  4:40     ` Chris Marusich
2018-03-30  4:45       ` Pierre Neidhardt
2018-03-30  9:49       ` Ricardo Wurmus
2018-03-31 17:13         ` Ludovic Courtès
2018-04-01  7:01         ` Pierre Neidhardt
2018-04-01  8:12           ` Pierre Neidhardt
2018-04-01 19:42             ` Chris Marusich
2018-04-01  7:13       ` Pierre Neidhardt
2018-04-01  8:01         ` Pierre Neidhardt
2018-04-01 19:45         ` Chris Marusich
2018-04-02  4:10           ` Pierre Neidhardt
2018-04-02  4:17             ` Pierre Neidhardt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.