On Fri, Oct 21, 2016 at 11:04:20PM +0300, Niko Tyni wrote: > On Fri, Oct 21, 2016 at 10:37:29AM +0300, Dmitry Bogatov wrote: > > > It is unfortunate. I am considering following patch: > > > + rm -fr --preserve-root --one-file-system -- "$home" > > > but I am scared to invoke `rm -fr' with root. I beleive, that deluser would > > handle it better then me. > > Seems somewhat scary to me too. I think just not leaving the directory > around would be fine. It's a corner case anyway.
Sorry, I meant "not removing" (= "leaving it around"). -- Niko

