Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #12006

Re: [PATCH/RFC] do not source/exec scripts on noexec mount points

From Mike Frysinger <vapier@gentoo.org>
Newsgroups gnu.bash.bug
Subject Re: [PATCH/RFC] do not source/exec scripts on noexec mount points
Date 2015-12-14 00:23 -0500
Message-ID <mailman.2054.1450070598.31583.bug-bash@gnu.org> (permalink)
References <1449954086-30408-1-git-send-email-vapier@gentoo.org> <20151212144836367922988@bob.proulx.com> <20151212225335.GG11489@vapier.lan> <CAP=cN8=XvWbnq3E=SZnK6nEGX1_qAFxwuj_Ep=pL71Nn0n4W_g@mail.gmail.com>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 13 Dec 2015 12:21, Piotr Grzybowski wrote:
> On Sat, Dec 12, 2015 at 11:53 PM, Mike Frysinger wrote:
> > On 12 Dec 2015 15:06, Bob Proulx wrote:
> >> It will almost
> >> certainly get in the way of a reasonable use case.
> >
> > can you name a reasonable use case this breaks ?
> 
> source /media/noexecmountpoint/sh/functions.sh;
> find_all_files_with_executable_bit /media/noexecmountpoint;

i think you're doing it wrong.  if you want to run code off of mount
point, then you should be mounting it executable.

>  Mike: I kind of understand your idea, but noexec flag given in the
> mount significates something else then your patch addresses.

i disagree
-mike

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: [PATCH/RFC] do not source/exec scripts on noexec mount points Mike Frysinger <vapier@gentoo.org> - 2015-12-14 00:23 -0500

csiph-web