public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Permissions problem
Date: Tue, 15 Aug 2023 15:55:01 +0100	[thread overview]
Message-ID: <13353429.uLZWGnKmhe@wstn> (raw)

Hello list,

I'd like to develop a blog using www-apps/jekyll, which makes extensive use of 
ruby gems, of which I have no experience. On trying to install a new default 
theme I get copious permission errors.

The ruby gems live in /usr/lib64/ruby/gems/3.1.0/gems, and to install anything 
in that tree I need write permission on the destination directory and execute 
permission on all those above it.

This poses an obvious security problem.

When I emerged jekyll and ran its installation routine, I found I had a new ~/
bin directory with nine executable files in it. ~/bin/update_rubygems has 
similar permission problems but is more concise in reporting them

I can't add myself to a group and grant it permissions, because there seems 
not to be any such group.

How do Gentoo Ruby users get around this?

-- 
Regards,
Peter.





             reply	other threads:[~2023-08-15 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15 14:55 Peter Humphrey [this message]
2023-08-15 16:38 ` [gentoo-user] Permissions problem Stefan Schmiedl
  -- strict thread matches above, loose matches on Subject: below --
2006-02-05  0:39 [gentoo-user] permissions problem John Jolet
2006-02-05  1:56 ` Richard Fish
2006-02-05  2:24   ` John Jolet
2006-02-05  2:59 ` Jerry McBride
2006-02-05  6:58   ` Richard Fish

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

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

  git send-email \
    --in-reply-to=13353429.uLZWGnKmhe@wstn \
    --to=peter@prh.myzen.co.uk \
    --cc=gentoo-user@lists.gentoo.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