On Wednesday, October 6, 2010, LEVAI Daniel <[email protected]> wrote:
> 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!

Fix committed...

Philip Guenther

Reply via email to