[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1113: chicken-install -s should not use sudo if
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1113: chicken-install -s should not use sudo if it is not necessary |
Date: |
Wed, 25 Jun 2014 13:32:13 -0000 |
#1113: chicken-install -s should not use sudo if it is not necessary
----------------------+-----------------------------------------------------
Reporter: ckeen | Owner:
Type: defect | Status: new
Priority: major | Milestone: someday
Component: unknown | Version: 4.8.x
Resolution: | Keywords: chicken-install, sudo
----------------------+-----------------------------------------------------
Comment(by ecloud):
That would be a nice feature. Or maybe chicken-install could automatically
do that even without the -s parameter, only if current permissions are not
enough. It could ask first, but sudo already involves asking first unless
sudo was run recently.
The issue is that a regular Linux user getting chicken from distro
packages will have chicken in /usr/bin, but (s)he will not necessarily
have all the eggs from distro packages. It's nice to be able to run
chicken-install as a normal user. As an egg developer, I do chmod a+w
/usr/lib/chicken/7 so that I can install my own eggs frequently. So I
don't want to have a pattern of requiring root permission to install every
egg, but there are a few that install tools in /usr/bin (chicken-doc and
chicken-wrap for example), and that is the only case when I would like
chicken-install to use sudo.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1113#comment:2>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.