On Tue, Oct 05, 2010 at 14:46:42 -0700, Philip Guenther wrote: > On Sat, 2 Oct 2010, LEVAI Daniel wrote: [...] > > Mode: (104555/-r-sr-xr-x) > > ^^^ > > Hmm, that doesn't match the Linux/GNU stat behavior, which doesn't show > the file-type bits, bits which no sane program looks at except via the > macros in <sys/stat.h>. Might I suggest instead this diff? [...] > $ obj/stat -x /usr/bin/passwd ./foo /dev/null > File: "/usr/bin/passwd" > Size: 26280 FileType: Regular File > Mode: (4555/-r-sr-xr-x) Uid: ( 0/ root) Gid: ( 7/ bin) [...]
That makes more sense, indeed! Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
