From owner-freebsd-questions Mon Jun 15 19:36:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA12479 for freebsd-questions-outgoing; Mon, 15 Jun 1998 19:36:43 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lorax.ubergeeks.com (lorax.ubergeeks.com [206.205.41.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA12471 for ; Mon, 15 Jun 1998 19:36:39 -0700 (PDT) (envelope-from adrian@lorax.ubergeeks.com) Received: from localhost (adrian@localhost) by lorax.ubergeeks.com (8.8.8/8.8.8) with SMTP id WAA04390; Mon, 15 Jun 1998 22:36:27 -0400 (EDT) (envelope-from adrian@lorax.ubergeeks.com) Date: Mon, 15 Jun 1998 22:36:27 -0400 (EDT) From: ADRIAN Filipi-Martin Reply-To: Adrian Filipi-Martin To: Malartre cc: questions@FreeBSD.ORG Subject: Re: /root:"chmod 600 .*" nothing work now In-Reply-To: <3585D0EB.389AA3D7@aei.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Jun 1998, Malartre wrote: > Ok, I have play with chmod for the first time. > > #pwd: > /root > #chmod 600 .* The problm is tha his also mhches ".." and ".", not just ".foorc". What ou really wanted is "chmod .??*". The "?" foreces a match of exactly one character. Boot you machine single user and try fixing things then. FYI, chmod is in /bin/chmod. If that doesn't work, try booing single user from the install floppy or the fix-it floppy. Adrian -- [ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message