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

Wolfgang Denk wd at denx.de
Thu Feb 14 00:11:43 CET 2008


In message <47B37791.3010109 at 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_




More information about the U-Boot mailing list