Skip site navigation (1)Skip section navigation (2)
Date:      15 Mar 2004 20:26:12 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Walter <walterk1@earthlink.net>
Cc:        Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: [Fwd: Re: deleting directories with ??? in name]
Message-ID:  <44smg9oa4r.fsf@be-well.ilk.org>
In-Reply-To: <40564E2C.7060706@earthlink.net>
References:  <40564E2C.7060706@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Walter <walterk1@earthlink.net> writes:

> I managed to delete the files by recreating the directory.
> 
> Not to seem ungrateful, but isn't it a Bad Thing that it
> is not straightforeward to delete any file on the system
> (as root, and thwarted merely because of the characters in
> the name of the file/directory)?  I'm not in a position to
> mangle lynx, but oughtn't it to be able to zap ANY file
> regardless of its name? (emacs is obtuse to me.) Is this
> worthy of a PR?  Or are there other ways to kill a
> malconforming file?  Why should an annonomous FTP user
> be able to create a directory tree that the root account
> of the machine can't traverse and delete normally? (Sigh.)

It sounds like you're just unfamiliar with shell quoting rules.
Maybe you'd find it easier with a different shell?  [root uses
csh by default, which I find much more arcane than sh]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44smg9oa4r.fsf>