Skip site navigation (1)Skip section navigation (2)
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 --]
Nktrace5X]84L/_-MNktrace5X]88:(׿?Nktrace5X]88M/etc/malloc.confNktrace5X]89L/_:$Nktrace5X]89ٙNktrace5X]83:L/_
(Nktrace5X]8 ;Nktrace5X]8;L/_Nktrace5X]8i<Nktrace5X]8<L/_Nktrace5X]8>;ؿܿܿNktrace5X]8&?M/sbin/chmodNktrace5X]8?L/_;MNktrace5X]8-@;ؿܿܿ
Nktrace5X]8@M/bin/chmodNchmod|]8HL/_;_Nchmod|]8aJտNchmod|]8.Kchmod: Nchmod|]8NML/__Nchmod|]8MտNchmod|]8yNTinvalid file mode: 711Nchmod|]8OL/__Nchmod|]8Pտ	Nchmod|]8Q
Nchmod|]8RL/__Nchmod|]8!S

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008a01bf5f5b$6eb7dfb0$8208a8c0>