Date: Fri, 14 Jan 2000 16:25:22 +0100 From: "James A Wilde" <james.wilde@telia.com> To: <freebsd-questions@freebsd.org> Subject: chmod: invalid file mode: 04711 Message-ID: <000701bf5ea3$a5e742e0$8208a8c0@iqunlimited.net>
next in thread | raw e-mail | index | archive | help
Hi! I've rooted round and searched the site and can't find a lead to my problem. My setup is a greenhorn user on an old AST 486 at home. The machine is dedicated to FreeBSD v.3.1. The setup is not perfect but it works. In order to avoid having to change keyboard, monitor and mouse between two machines, which always freezes the keyboard on the machine switched to, I want to connect to my FBSD computer via SSH2 from my NT computer. I surfed to the FreeBSD site and tanked home the appropriate directories (rsaref, ssh and ssh2) and began the install with rsaref which apparently proceeded satisfactorily. ssh bombed out, however, and since I had previously installed both ssh and ssh2 from the Finnish site successfully on another 3.1 machine at work, I decided to try again with those. Tanked home the appropriate tars, ran ./configure make make install for ssh-1.2.27 without problems. Tried the same thing with ssh-2.0.13 and the make install bombed out with the message in the subject line. A full log of the make install appears below. I saw that Makefile includes a line including the magic number 04711 so I changed it to 4711 and another file, Makefile.am also included it. The documentation refers to a Makefile.am.raw which should be edited but I couldn't find that. The reason for this change is that I see from man chmod that the mode should be a maximum of 4 digits. I repeated the whole install procedure for ssh-2.0.13, including ./configure and make but with the same result. I'm logged in as james and su'd to root via telnet. Unfortunately I am not a c programmer and whilst I think that the make system is a fantastic tool, I obviously can't hack my way around in it TIA for any help. Here's the relevant bit of the log: unix# make install (cd apps/ssh; make install) /bin/sh ../../mkinstalldirs /usr/local/bin /usr/bin/install -c ssh2 /usr/local/bin/ssh2 /usr/bin/install -c scp2 /usr/local/bin/scp2 /usr/bin/install -c sftp2 /usr/local/bin/sftp2 /usr/bin/install -c sftp-server2 /usr/local/bin/sftp-server2 /usr/bin/install -c ssh-agent2 /usr/local/bin/ssh-agent2 /usr/bin/install -c ssh-keygen2 /usr/local/bin/ssh-keygen2 /usr/bin/install -c ssh-signer2 /usr/local/bin/ssh-signer2 /usr/bin/install -c ssh-askpass2 /usr/local/bin/ssh-askpass2 /usr/bin/install -c ssh-add2 /usr/local/bin/ssh-add2 /bin/sh ../../mkinstalldirs /usr/local/sbin /usr/bin/install -c sshd2 /usr/local/sbin/sshd2 make install-exec-hook chown root /usr/local/bin/ssh-signer2 chmod 04711 /usr/local/bin/ssh-signer2 chmod: invalid file mode: 04711 *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. mvh/regards James Wilde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701bf5ea3$a5e742e0$8208a8c0>