Link to home
Start Free TrialLog in
Avatar of dmag
dmag

asked on

Cmd line util to find owner of a file?

Is there a command-line (i.e. non-gui) way to find the owner of a file? (Non-POSIX, please.)
Avatar of dmag
dmag

ASKER

Edited text of question
ASKER CERTIFIED SOLUTION
Avatar of cer
cer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dmag

ASKER

I have the POSIX subsystem disabled. I've never found a utility that didn't work better when compiled to win32.

I tried FILES.EXE (in ntfiles.zip) and it said: Error calling API CreateFile = 2

LS.EXE (in ls_nt17.zip) did indeed work. Thanks.

There is also a LS.EXE in the POSIX subdirectory from the resourcekit. I thought LS _is_ from posix.
Avatar of dmag

ASKER

Yes, there is a port of the UNIX ls that runs under the NT POSIX subsystem. I have disabled the POSIX subsystem, because it's silly.I was looking (and found) a version that was compiled for the win32 subsystem.