unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Csepp <raingloom@riseup.net>
To: Alexander Asteroth <alexander.asteroth@h-brs.de>
Cc: help-guix@gnu.org
Subject: Re: guix shell set user groups to access security token
Date: Sun, 15 Jan 2023 14:11:45 +0100	[thread overview]
Message-ID: <86lem43pro.fsf@riseup.net> (raw)
In-Reply-To: <87pmbgyrlz.fsf@h-brs.de>


Alexander Asteroth <alexander.asteroth@h-brs.de> writes:

> Dear all,
>
> I'm trying to get my security token software (sealone) to work under
> guix SD. The software is unfortunately not available in source and seems
> to expect a FSH filesystem. I therefore tried to run it in guix shell. A
> first trial was:
>
> guix shell -CFD ungoogled-chromium gcc:lib --expose=/dev
>
> in this environment I can execute the software and the tokes get's
> connected but reports some error condition and is not usable. It might
> have to do with the user not beeing in group cdrom which usually is
> necessary to access /dev/sg0.
>
> Any idea how to set the groups the user is member of in guix shell?
> Or any other idea how I could get such software to work under guix?
>
> Cheers,
> Alex

Bit of an ugly hack but what I usually do is chown devices I'm working
with to myself.
Haven't tried that in a guix container but in theory it should work.


  reply	other threads:[~2023-01-15 13:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 11:08 guix shell set user groups to access security token Alexander Asteroth
2023-01-15 13:11 ` Csepp [this message]
2023-01-15 15:20   ` Alexander Asteroth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86lem43pro.fsf@riseup.net \
    --to=raingloom@riseup.net \
    --cc=alexander.asteroth@h-brs.de \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).