public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Permissions problem
@ 2023-08-15 14:55 Peter Humphrey
  2023-08-15 16:38 ` Stefan Schmiedl
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Humphrey @ 2023-08-15 14:55 UTC (permalink / raw
  To: gentoo-user

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.





^ permalink raw reply	[flat|nested] 7+ messages in thread
* [gentoo-user] permissions problem
@ 2006-02-05  0:39 John Jolet
  2006-02-05  1:56 ` Richard Fish
  2006-02-05  2:59 ` Jerry McBride
  0 siblings, 2 replies; 7+ messages in thread
From: John Jolet @ 2006-02-05  0:39 UTC (permalink / raw
  To: gentoo-user

Okay, I give up.  I've been struggling with a couple of very, very  
strange permissions problems for months.  I just finished an emerge - 
e system and emerge -e world hoping it would fix it.  first problem:  
trying to use sudo, but it keeps saying "can't open sudoers file,  
permission denied".  even if i'm root doing sudo it tells me that.   
here is permissions on /etc/sudoers: -r--r-----  1 root root 1643  
Feb  3 04:48 /etc/sudoers
here is sudo itself: ---s--x--x  1 root root 97104 Feb  4 08:53 /usr/ 
bin/sudo

I've compared this to other, working gentoo boxes and it all seems  
the same.  In addition, I'm trying to run MailScanner and if I try to  
have it run as postfix, I get a message that it can't open it's  
MailScanner.conf, even though i've made that owned by postfix.  Not  
sure if that's related, but it seems it could be.
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2023-08-15 16:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 14:55 [gentoo-user] Permissions problem Peter Humphrey
2023-08-15 16:38 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox