X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tsSNx9HT1j6dYN4Hh7oVQJkDHOyEs7tLSXDGto+qhI8=; b=QlOhTj/cWs8enOvJJ39llQB/hFHKGjnerNpdM+DXsqr29puqQFaj5nklbsW4Vb74u5 /qO4v3DyF4bqkk6d4MUj7vfVtKMYodTk1kLLLIh/sINfNIcOgNfEzzsBFq5KrbzDTrWV PK6bMFswrN1LtPKV0tIA4jhhe7Mwyv6mvyjTHHyoEsTg1/xYOYxdbGV5oGlb1/yfU9DU kWyfKx8NXqTRZ+c12KpkKVcfxXA7x+/nuYyMpPGWITFpsoR2znmWaNqqj7urYlnVTYds iq3jV9sfpGRi/YWdeqpo6WGfNlLJernmx9kNrUzX9XgKv/HPaMw92dLJyWkMPG92mw8s 9eyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tsSNx9HT1j6dYN4Hh7oVQJkDHOyEs7tLSXDGto+qhI8=; b=NGNbIJqWkxIKW+DjsxQZAFaESyg8l8VyxMXI7lGzHp8PEd8znsFkFH6L98nls12wJ9 G8ynzYWaqlmT+jWf1loziE4RBlsotGd89x90KJJwEC0hYVkLFG+6y+gbcTzq0P2ny2Qx hT3Udju2UAQl+/uCRBI/5Bb/KY6pwgKjLVISpkmXMzXm25katfkx5ykt2EOaoSQ8SYEB 34rcF8uIajjSgqhndhgybmtVQGCQEHcv97WGNPL4DDEZXZAjcwymZ5jH8f8jc+NJtVvB LWukqFRsHtmWSAL/lj+pIyGsnZHzeFN8IrcsM39hTe0tf0d2bJ6Dc6N29QtIMX7q958B P4Sg== X-Gm-Message-State: AOAM5319UDsWYzJ9og2OOgGQKtuhVEEzcGBKQoU7Gehxcn3dzVTRFcSi l3WnntiTxlTAevA33jx+2Gr/rLrF6MZFh1SSzkAvow2W X-Google-Smtp-Source: ABdhPJzqa11m3acO/N4SIicIgMfziz+yvOIyEvzRTMqIXl+m5+H/1V/55m4PLx/V7vbu/80W4s8/hwMbdudAGml5rwI= X-Received: by 2002:a2e:90e:: with SMTP id 14mr5057901ljj.293.1597564885826; Sun, 16 Aug 2020 01:01:25 -0700 (PDT) MIME-Version: 1.0 References: <83wo1ziwex DOT fsf AT gnu DOT org> In-Reply-To: <83wo1ziwex.fsf@gnu.org> From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" Date: Sun, 16 Aug 2020 08:01:13 +0000 Message-ID: Subject: Re: Symlinks with executable extensions (suffixes) To: djgpp AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: djgpp AT delorie DOT com On Sat, 15 Aug 2020 at 18:49, Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com] wrote:> > > From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" > > Date: Sat, 15 Aug 2020 18:06:05 +0000 > > > > What can I do about DJGPP-symlinks getting accidentally executed (eg. > > by COMMAND.COM) as binary executables because they have .exe or .com > > extensions? It can easily hang the machine. > > Don't create symlinks with those extensions? I don't do it deliberately. They are created by eg. "make install". > DJGPP already has an alternative mechanism for "links" to its > executables (via 'stubedit'), which avoids this problem. Would it > solve the problem to use that alternative for links to executables? Partially. But then "ls" won't list them as links, right? -aw