unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to use "setuid-program"?
@ 2021-09-03 18:24 Matthew Brooks
  2021-09-03 18:49 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 8+ messages in thread
From: Matthew Brooks @ 2021-09-03 18:24 UTC (permalink / raw)
  To: help-guix@gnu.org

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.


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

end of thread, other threads:[~2021-09-19 15:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-03 18:24 How to use "setuid-program"? Matthew Brooks
2021-09-03 18:49 ` 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

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).