Peter Humphrey
2023-08-15 15:00:02 UTC
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?
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.
Regards,
Peter.