Re: currently doable? Indirect notation used w/a hash
From:
Mike Frysinger
Subject:
Re: currently doable? Indirect notation used w/a hash
Date:
Mon, 10 Jun 2013 21:14:14 -0400
User-agent:
KMail/1.13.7 (Linux/3.8.3; KDE/4.6.5; x86_64; ; )
On Monday 10 June 2013 18:20:44 Chris F.A. Johnson wrote:
> On Mon, 10 Jun 2013, Linda Walsh wrote:
> >> Point taken, but the only way such a string would be passed as a
> >> variable name is if it was given as user input -- which would,
> >> presumably, be sanitized before being used. Programming it literally
> >> makes as much sense as 'rm -rf /'.
> >
> > ---
> >
> > That still didn't POSIX-Gnu rm from disabling that ability.
>
> Did they? I'm not going to test it :(
do it as non-root:
$ rm -rf /
rm: it is dangerous to operate recursively on `/'
rm: use --no-preserve-root to override this failsafe
-mike
signature.asc Description: This is a digitally signed message part.