Date: Sat, 15 Jan 2000 04:08:44 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: James A Wilde <james.wilde@telia.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: chmod command doesn't work was: chmod: invalid file mode: 04711 Message-ID: <20000115040844.J508@fw.wintelcom.net> In-Reply-To: <002801bf5f4a$0ccca4e0$8208a8c0@iqunlimited.net>; from james.wilde@telia.com on Sat, Jan 15, 2000 at 12:17:00PM %2B0100 References: <7787.947865635@axl.noc.iafrica.com> <00a501bf5eb8$aa0e71d0$8208a8c0@iqunlimited.net> <002801bf5f4a$0ccca4e0$8208a8c0@iqunlimited.net>
next in thread | previous in thread | raw e-mail | index | archive | help
* James A Wilde <james.wilde@telia.com> [000115 03:39] wrote: > 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? have a look at or share with us the output of 'truss' or 'ktrace' on the chmod, or run it the debugger. -Alfred 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?20000115040844.J508>