I have added checks for TMPDIR and TEMPDIR. I do have TMP set in my
environment, but it turned out this is something I have added, not
part of the standard user environment. If anyone has suggestions about
other environment variables that specify temporary directory, I can
add those, too.
If
I have added two options to chicken-setup: -build-prefix and
-download-dir. build-prefix is where chicken-setup creates a temporary
directory, unpacks the egg and then compiles it. download-dir is the
directory where downloaded egg files are saved. build-prefix defaults
to the value of the
Hello,
wouldn't it be a solution if chicken-setup would downgrade its
priviliges to a regular user for everything but installation of files in
case it was run as root?
I would also suggest that chicken-setup should download, unpack and
compile eggs in a fresh temporary directory instead of
On Mon, Feb 25, 2008 at 8:33 AM, Ivan Raikov [EMAIL PROTECTED] wrote:
Ok, will do. I will also add some optional privilege de-escalation
functionality for the unpack and compile phases, if it is easy to
implement.
Cool! I have to warn you, though: chicken-setup.scm is a real mess!
(trac is 500ering right now, so I write this here)
gauche uses an option --sudo-install for it's package installation
tool. We could make this optional. I usually make my egg-repo dir
writable, but when installing eggs that install programs (tools),
it can be quite annoying to have to fail, and