From owner-freebsd-questions Sat Jan 15 3:16:26 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 C3AD914F84 for ; Sat, 15 Jan 2000 03:16:23 -0800 (PST) (envelope-from james.wilde@telia.com) Received: from ents02 (t2o73p17.telia.com [62.20.218.137]) by mailc.telia.com (8.9.3/8.9.3) with SMTP id MAA25130 for ; Sat, 15 Jan 2000 12:16:21 +0100 (CET) Message-ID: <002801bf5f4a$0ccca4e0$8208a8c0@iqunlimited.net> From: "James A Wilde" To: References: <7787.947865635@axl.noc.iafrica.com> <00a501bf5eb8$aa0e71d0$8208a8c0@iqunlimited.net> Subject: chmod command doesn't work was: chmod: invalid file mode: 04711 Date: Sat, 15 Jan 2000 12:17:00 +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 Sorry to harp but I've been experimenting a bit with this. I had an idea at the back of my mind that I had seen similar behaviour before. The chmod command does not appear to work at all on this machine. I have gone in as root on the console and typed the following: mkdir test chown james test chmod 04711 test chmod 4711 test chmod 711 test chown root test chmod 04711 test chmod 4711 test chmod 711 test chmod 644 test I used 644 in the last case since this is the example in 'man chmod'. In every case of the chmod command I get: 'chmod: invalid file mode: nnnnn' - where nnnnn is the 3-5 digit number I have listed above. So my problem is not with installing ssh2 but with the chmod command. Does anyone have any suggestions? TIA mvh/regards James Wilde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message