I haven't spoken to JPSoft (makers of 4NT) yet, mainly because I was trying
to determine whether it was a problem (or just a difference) with Vista,
either configuration or feature-related. However, testing with ksh has added
yet another variable to the mix. So with at least three different tools (ksh,
4NT, and a gcc-built ls), we have different results. Doesn't sound like
something 4NT is doing wrong, really, if everyone is coming up with different
results.
It would be great if someone could compare results in a 32-bit Vista install
to see if it really was due to the 64-bit version. Although I can't imagine
any scenario whereby a 64-bit compiled program would appear differently in a
directory listing as a 32-bit compiled program. Shouldn't make a difference.
To be honest, not knowing what is causing this is making me wonder whether I
go back to using the 32-bit install. Mind you, inability to see consistent
directory results using 4NT isn't a showstopper by any means; my main concern
is that without knowing why this is happening, it could just be the "tip of
the iceberg", and just one of many cases where this type of behavior will
crop up.
I'll try pinging JPSoft next.
Thanks for your help,
Keith
"Jesper" wrote:
> I'm at a loss here. I do get different results from ksh and cmd, but they are
> nowhere near as drastic as what you are seeing. It has to be something 64-bit
> related. Have you talked to the author of 4NT about this?
>
> "Keith S." wrote:
>
> > "Jesper" wrote:
> >
> > > > Here's an example that narrows it down. In the Windows\system32 directory,
> > > > do "dir bc*". cmd shows four files; 4NT only shows bcrypt.dll. The icacls
> > > > output on both bcrypt.dll and bcdedit.exe (which does not show up in 4NT) is
> > > > identical:
> > >
> > > They sure look identical. Why don't you use the save switch on icacls to
> > > save the actual SDDL. If it is something ACL-related that would show it.
> >
> > Done -- and yes, they're exactly the same.
> >
> > > You said the file attributes are the same? IIRC, 4NT has a /a switch as
> > > well, but you are using that right? Are you running these commands from an
> > > elevated command prompt?
> >
> > I've tested running 4NT as administrator, and as myself, and the results are
> > the same. I wasn't running cmd as administrator, strange enough. I also
> > verified using the /A: switch with 4NT, but that made no difference.
> >
> > > 4NT and cmd.exe should both be using the same set of APIs, so there should
> > > be no difference. I may have to grab a copy of 4NT so I can see this for
> > > myself.
> >
> > Thanks. Any extra eyes would be a welcome thing, at this point. It can be
> > found at http://www.jpsoft.com/download.htm . I also have a single "ls"
> > binary, if you want to test with that, too, which I can easily make available
> > for download from my website. (To make matters worse, the results of ls are
> > different from both cmd *and* 4NT.)
> >
> > Keith
> >