unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: guix-devel@gnu.org
Subject: package definition question: installation into system directory
Date: Fri, 23 Jun 2023 11:43:13 -0700	[thread overview]
Message-ID: <CAJsg1E8ePgMT9J2cABUA0NYySMjq=jQH7W+MB5XXABWkVhwz3g@mail.gmail.com> (raw)

Hi, I was trying to create a package definition for xrdp.
when testing the package build, its fails at installation step:

libtool: install:
/gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/bin/install
-c .libs/xrdp-sesman
/gnu/store/6rfpjdc3vcsfw3yi1cr42g81pd1lw63l-xrdp-0.9.22.1/sbin/xrdp-sesman
 /gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/bin/mkdir
-p '/etc/xrdp'
/gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/bin/mkdir:
cannot create directory ‘/etc/xrdp’: Permission denied
make[3]: *** [Makefile:690: install-dist_sesmansysconfDATA] Error 1


clearly it was trying to install (some PAM related file) into /etc
which fails.  Curious how should such scenario be handled? Thanks


             reply	other threads:[~2023-06-23 18:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-23 18:43 Andy Tai [this message]
2023-06-23 20:24 ` package definition question: installation into system directory Felix Lechner via Development of GNU Guix and the GNU System distribution.
  -- strict thread matches above, loose matches on Subject: below --
2023-06-23 17:56 Andy Tai

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='CAJsg1E8ePgMT9J2cABUA0NYySMjq=jQH7W+MB5XXABWkVhwz3g@mail.gmail.com' \
    --to=atai@atai.org \
    --cc=guix-devel@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.
Code repositories for project(s) associated with this public inbox

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

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