From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Hudec Subject: Re: RFC: Illegal Characters in File Names Date: Tue, 20 Jul 2004 23:37:25 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040720213725.GP3227@vagabond> References: <20040720181006.GG12308@parcelfarce.linux.theplanet.co.uk> <200407202044.i6KKi8318014@watkins-home.com> <20040720212753.GC2820@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JfVplkuTfB13Rsg5" Cc: Guy , viro@parcelfarce.linux.theplanet.co.uk, 'Bryan Henderson' , linux-fsdevel@vger.kernel.org, "'Joseph D. Wagner'" Return-path: Received: from cimice4.lam.cz ([212.71.168.94]:44199 "EHLO vagabond.light.src") by vger.kernel.org with ESMTP id S266302AbUGTVjZ (ORCPT ); Tue, 20 Jul 2004 17:39:25 -0400 To: Matthew Wilcox Content-Disposition: inline In-Reply-To: <20040720212753.GC2820@parcelfarce.linux.theplanet.co.uk> List-Id: linux-fsdevel.vger.kernel.org --JfVplkuTfB13Rsg5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 20, 2004 at 22:27:53 +0100, Matthew Wilcox wrote: > On Tue, Jul 20, 2004 at 04:44:08PM -0400, Guy wrote: > > I am not talking about lusers creating applications! Just empty files = with > > very controlled filenames. The file names would contain the control > > characters to affect the terminal when anyone (including root) issued t= he > > "ll" command in /tmp. >=20 > Then your ls is broken. Mine displays them: >=20 > $ touch ^D > $ ls -l > -rw-r--r-- 1 willy willy 0 Jul 20 17:26 ? >=20 > See the -N, -q, -b options to ls. You're not the first person to think > about this problem. Try ls -l | cat ;-) Ls is clever. When it sees tty, it avoids control chars.... ---------------------------------------------------------------------------= ---- Jan 'Bulb' Hudec --JfVplkuTfB13Rsg5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA/ZCVRel1vVwhjGURAkTUAKCI1FMQ4zAv+YhdqSOd45194SMWzACfWMoQ ibS5y7enB6jfGQAKC2nZ4sE= =IAbM -----END PGP SIGNATURE----- --JfVplkuTfB13Rsg5--