[exim-dev] CHOWN and Local/Makefile and scripts/exim_install

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy C. Reed
Datum:  
To: exim-dev
Betreff: [exim-dev] CHOWN and Local/Makefile and scripts/exim_install
The src/EDITME says:

# The following commands live in different places in some OS. Either the
# ultimate default settings, or the OS-specific files should already point to
# the right place, but they can be overridden here if necessary. These settings
# are used when building various scripts to ensure that the correct paths are
# used when the scripts are run. They are not used in the Makefile itself.
...
# CHOWN_COMMAND=/usr/bin/chown

The above is confusing. It says "they can be overridden here" and "They
are not used in the Makefile itself". The confusing part is that there are
two places it is set and used.

So in my Local/Makefile I set:
CHOWN_COMMAND=/usr/bin/true

It is used for correctly for exicyclog.

But the CHOWN_COMMAND set in my OS-specific Makefile-whatever is used for
the install itself. Now I see that scripts/exim_install doesn't use it.

Please consider patching scripts/exim_install (like is done with
exicyclog) to use correct CHOWN.

My workaround was to set INST_CHOWN in my shell environment. But then I
have to set two settings for my chown.

(I use /usr/bin/true since I am building, installing and using exim
without any superuser privilege.)

Thanks!


Jeremy C. Reed

                  technical support & remote administration
                 http://www.pugetsoundtechnology.com/