From owner-freebsd-questions Sat Jan 15 5:53:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1ABCE14D0A for ; Sat, 15 Jan 2000 05:53:19 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id GAA26676; Sat, 15 Jan 2000 06:15:53 -0800 (PST) Date: Sat, 15 Jan 2000 06:15:53 -0800 From: Alfred Perlstein To: James A Wilde Cc: freebsd-questions@FreeBSD.ORG Subject: Re: chmod command doesn't work was: chmod: invalid file mode: 04711 Message-ID: <20000115061553.L508@fw.wintelcom.net> References: <7787.947865635@axl.noc.iafrica.com> <00a501bf5eb8$aa0e71d0$8208a8c0@iqunlimited.net> <002801bf5f4a$0ccca4e0$8208a8c0@iqunlimited.net> <20000115040844.J508@fw.wintelcom.net> <008a01bf5f5b$6eb7dfb0$8208a8c0@iqunlimited.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <008a01bf5f5b$6eb7dfb0$8208a8c0@iqunlimited.net>; from james.wilde@telia.com on Sat, Jan 15, 2000 at 02:21:25PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * James A Wilde [000115 05:43] wrote: > Thanks, Alfred. > > The output of 'truss chmod 711 test' is: > > syscall write(2,0xefbfd584,7) > returns 7 (0x7) > syscall write(2,0xefbfd598,22) > returns 22 (0x16) > syscall write(2,0xefbfd588,1) > returns 1 (0x1) > syscall exit(0x1) > process exit, rval = 256 > > The output of 'ktrace chmod 711 test' is attached as it is a binary file. next time just attach the output of 'kdump'. hmm, it looks like something is seriously weird with your chmod command, it doesn't parse 711 correctly. what version of freebsd are you using and what is the date of your chmod command? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message