[U-Boot-Users] Delete all env vars except read onlys

Wolfgang Denk
2008-02-13T23:11:43Z

In message <47B37791.3010109@freescale.com> you wrote:
>
> > Oops??? "rm" never asks unless you ask it to ask.
>
> Not true. It will ask if you don't have write permission to the file,
> even if you are able to delete because you have write permission to the
> directory.

Does it? Indeed. Must be a GNUism. I bet this was't there in Unix v6
when I learned it ;-)

You are right, but this is still a special case where another,
explicit protection is being overwritten.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You got to learn three things. What's real, what's not real, and
what's the difference." - Terry Pratchett, _Witches Abroad_