unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Matthew Brooks <matthewfbrooks@mailbox.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: How to use "setuid-program"?
Date: Fri, 3 Sep 2021 13:24:27 -0500	[thread overview]
Message-ID: <20210903132427.29dfb907@mailbox.org> (raw)

The old way of doing setuid programs:

(setuid-programs
  (cons
   #~(string-append #$slock "/bin/slock")
   %setuid-programs
   )
  )

now gives a deprecation warning as follows:
>warning: representing setuid programs with file-like objects is deprecated; use 'setuid-program' instead

The actual manual, however, still lists the old way as the way to do it. As such, I haven't been able to work out what sytax is actually expected for defining a setuid program with "setuid-program".

I assume that someone familiar with guile could probably check the definition of "setuid-program" or something to determine what it expects, but I have no idea how to do that either.


             reply	other threads:[~2021-09-03 18:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03 18:24 Matthew Brooks [this message]
2021-09-03 18:49 ` How to use "setuid-program"? Tobias Geerinckx-Rice
2021-09-03 20:16   ` Julien Lepiller
2021-09-17 16:28     ` Matthew Brooks
2021-09-17 16:47       ` Tobias Geerinckx-Rice
2021-09-17 18:26         ` Pascal Lorenz
2021-09-19 11:37         ` Efraim Flashner
2021-09-19 15:45           ` Leo Famulari

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=20210903132427.29dfb907@mailbox.org \
    --to=matthewfbrooks@mailbox.org \
    --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).