Date: Sat, 8 Jun 2002 17:47:25 +1000 From: Joshua Goodall <joshua@roughtrade.net> To: current@freebsd.org Subject: Perl wrapper bad Message-ID: <20020608074725.GA45357@roughtrade.net>
next in thread | raw e-mail | index | archive | help
... 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. Joshua To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020608074725.GA45357>