From owner-freebsd-questions Sat Jan 15 12: 9:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailc.telia.com (mailc.telia.com [194.22.190.4]) by hub.freebsd.org (Postfix) with ESMTP id 8DA0A14DF6 for ; Sat, 15 Jan 2000 12:09:29 -0800 (PST) (envelope-from james.wilde@telia.com) Received: from ents02 (t2o73p97.telia.com [62.20.218.217]) by mailc.telia.com (8.9.3/8.9.3) with SMTP id VAA24685 for ; Sat, 15 Jan 2000 21:09:26 +0100 (CET) Message-ID: <019801bf5f94$864e9a40$8208a8c0@iqunlimited.net> From: "James A Wilde" To: References: <006401bf5f72$8fac2fc0$d0353018@evstiouninadelphia.net.pit.adelphia.net> <3880C71C.422A1ED9@3-cities.com> Subject: Re: chmod command doesn't work was: chmod: invalid file mode: 04711 Date: Sat, 15 Jan 2000 21:10:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks to all who helped. Problem solved - er, well, over. On Kent's advice I created a new directory called zonk, which I hoped the kernel wouldn't object to, and, to my surprise, could chmod. I can chmod anything now. The only explanation I have is that, after running ktrace, I did a 'cat ktrace.out' to see what was in there. It was, of course a binary and totally screwed up my machine to the extent that a shutdown couldn't fix it. So I did a cold boot. SSH2 has now compiled without a murmur. Sorry everyone. mvh/regards James > It wouldn't surprise me if "test" was being replaced with "[". I would > use a better name than "test", which has a special meaning to the > shell. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message