From owner-freebsd-questions Wed Sep 29 11: 2:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 773E915921 for ; Wed, 29 Sep 1999 11:02:11 -0700 (PDT) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 3387 invoked from network); 29 Sep 1999 18:02:09 -0000 Received: from usercb29.uk.uudial.com (HELO marder-1.) (62.188.150.196) by smtp.dial.pipex.com with SMTP; 29 Sep 1999 18:02:09 -0000 Received: (from mark@localhost) by marder-1. (8.9.2/8.8.8) id SAA00879; Wed, 29 Sep 1999 18:59:25 +0100 (BST) (envelope-from mark) Date: Wed, 29 Sep 1999 18:59:25 +0100 From: Mark Ovens To: Ken Blundell Cc: freebsd-questions@freebsd.org Subject: Re: A Weird File Problem Message-ID: <19990929185925.C280@marder-1> References: <000801bf0a93$ef002e60$1967eccf@osicom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <000801bf0a93$ef002e60$1967eccf@osicom.net> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Sep 29, 1999 at 12:01:46PM -0400, Ken Blundell wrote: > Hello, > I've never run into this before. It looks like a weird file problem. > I'm running FreeBSD 2.2.2. > Someone decided to mess up my server and now I cannot delete a couple of files. > There is a file in the /etc dir. > -rw------- 1 root wheel 31243 Sep 29 00:14 gay > If I try to do a rm on the file this is what I get back: > # rm gay > rm: gay: No such file or directory > # > What an I doing wong?? > I'd guess that it contains some none-printing chars, although ls usually shows those as ``?''. Try ``cd /etc; rm -i *'' and think *very* carefully before pressing a key to answer the question. When rm(1) displays the file in question you will be able to answer ``y'' and it will delete it (it may even show the filename differently to ls(1)). HTH > Also there is a multiple listing for the master.passwd file: > -rw------- 1 root wheel 30615 Sep 29 11:37 master.passwd > -rw-r--r-- 1 root wheel 95 Sep 29 00:19 master.passwd > Should there be two entries? If not, how do I get rid of one of them? > Again, one (or both) contain non-printing chars. > Thanks for any help. > Ken. > -- STATE-OF-THE-ART: Any computer you can't afford. OBSOLETE: Any computer you own. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message