... when I say "bad" I don't mean in execution. I mean that
the idea of a redirecting wrapper for one special program seems to
me an architectural wart that shouldn't be pushed on the userbase.

Not only does it conflict in style with the existing mailwrapper,
but it introduces a DWIM feature without precedent.  Using PATH is
simply wrong in restricted-path cases.

The idea that manually creating a symlink is an insufficient solution
is an underestimation of the intelligence of the FreeBSD userbase.

Those who think that a generalisation of mailwrapper would be a
cleaner solution can try the following *proof-of-concept*:

echo 'myperl /usr/local/bin/perl' >> /etc/mail/mailer.conf
ln -s /usr/sbin/mailwrapper /usr/bin/myperl
/usr/bin/myperl -v

This also works for suidperl.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to