Date: Sat, 15 Jan 2000 14:21:25 +0100 From: "James A Wilde" <james.wilde@telia.com> To: "Alfred Perlstein" <bright@wintelcom.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: chmod command doesn't work was: chmod: invalid file mode: 04711 Message-ID: <008a01bf5f5b$6eb7dfb0$8208a8c0@iqunlimited.net> References: <7787.947865635@axl.noc.iafrica.com> <00a501bf5eb8$aa0e71d0$8208a8c0@iqunlimited.net> <002801bf5f4a$0ccca4e0$8208a8c0@iqunlimited.net> <20000115040844.J508@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.
mvh/regards
James
> have a look at or share with us the output of 'truss' or 'ktrace' on
> the chmod, or run it the debugger.
>
> -Alfred
[-- Attachment #2 --]
N ktrace 5X]84 L/_- M N ktrace 5X]88 : (? N ktrace 5X]88 M/etc/malloc.conf N ktrace 5X]89 L/_: $ N ktrace 5X]89 ٙ N ktrace 5X]83: L/_
( N ktrace 5X]8 ; N ktrace 5X]8; L/_ N ktrace 5X]8i< N ktrace 5X]8< L/_ N ktrace 5X]8> ; ؿܿܿ N ktrace 5X]8&? M/sbin/chmod N ktrace 5X]8? L/_; M N ktrace 5X]8-@ ; ؿܿܿ
N ktrace 5X]8@ M/bin/chmod N chmod |]8H L/_; _ N chmod |]8aJ տ N chmod |]8.K chmod: N chmod |]8NM L/_ _ N chmod |]8M տ N chmod |]8yN T invalid file mode: 711 N chmod |]8O L/_ _ N chmod |]8P տ N chmod |]8Q
N chmod |]8R L/_ _ N chmod |]8!S
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008a01bf5f5b$6eb7dfb0$8208a8c0>
