[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: noexec mount option (was: Email based attack on University)



On Fri, Oct 04, 2019 at 05:52:45PM +0200, Sven Joachim wrote:
> On 2019-10-04 16:22 +0100, Jonathan Dowland wrote:
> > Here's three ways:
> >
> >    bash -c "~/whatever"
> 
> Does not work, bash reports "Permission denied".

The quotes shouldn't be there.

wooledg:~$ rm foo; echo 'echo hi' > foo; ls -l foo
-rw-r--r-- 1 wooledg voice 8 Oct  4 11:56 foo
wooledg:~$ bash ~/foo
hi


Reply to: