Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2000 06:15:53 -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:  <20000115061553.L508@fw.wintelcom.net>
In-Reply-To: <008a01bf5f5b$6eb7dfb0$8208a8c0@iqunlimited.net>; from james.wilde@telia.com on Sat, Jan 15, 2000 at 02:21:25PM %2B0100
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>

next in thread | previous in thread | raw e-mail | index | archive | help
* James A Wilde <james.wilde@telia.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000115061553.L508>