BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- Subject: [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- From: dsr at randomstring.org (Dan Ritter)
- Date: Wed, 21 Jun 2023 19:26:55 -0400
- In-reply-to: <CAJFsZ=ozzcstj4NMy5Mzsbuzmxhd6bkFBMwte-QMQm9dYDj9sQ@mail.gmail.com>
- References: <20230621163508.GJ24375@bladeshadow.org> <CAJFsZ=ozzcstj4NMy5Mzsbuzmxhd6bkFBMwte-QMQm9dYDj9sQ@mail.gmail.com>
Bill Bogstad wrote: > I haven't noticed anyone calling out the issue of where interpreters > are installed. > > Do I put > > #!/bin/perl > or > #!/usr/bin/perl > or maybe > /opt/bin/perl If it's on your systems, you know where to find the right perl (or python3 or ruby or...) If you're packaging for a particular distro, you know where they put it. If you're releasing into the wild, put /usr/bin/perl and mention in the README that some people may have to adjust the path. If you're releasing into the wild as part of something complicated, have the general installer ask the person installing for locations of binaries. If you have a really big old project, maybe configure is already in use... -dsr-
- Follow-Ups:
- [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- References:
- [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- From: invalid at pizzashack.org (Derek Martin)
- [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- Prev by Date: [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- Next by Date: [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- Previous by thread: [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- Next by thread: [Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
- Index(es):