I'm happy you were able to get the NT reskit chown to work. In the spirit of
collegiality that so far has pervaded the toasters list, perhaps you could
provide an example of how you did it? As far as I can see the "F-ing Manual" (in
this case the "F" is richly deserved) says little more about chown other than to
state that it is present. And I already gave an example of the "usage" output
when no arguments are supplied. Can you give me a pointer to the manual or help
file or doc file for this?
Ever curious, I downloaded the sources for the NT POSIX commands, and chown.exe
just uses the NT POSIX subsystem "chown()" call which takes a 32 bit numeric
UID. It is hard to see how that can be used to set the normal NT security
information. I am curious how you were able to use that chown to help administer
NT boxes. Are you positive it wasn't the MKS toolkit chown? And if you did do
it, were you able to set the owner to something other that yourself (i.e. other
than a "take ownership")?
The sources did solve the mystery of why the "usage" was asking for a group: the
chown and chgrp commands use the same executable, and the command looks at the
third byte of the command to see if it is "o" (lower case only) to see if it's
chown or chgrp. I was typing "f:chown", so the third byte was 'c'. As I said,
these NT POSIX commands are pretty crude.
Mark Muhlestein -- mmm(a)netapp.com
-----Original Message-----
From: tkaczma(a)gryf.net [mailto:tkaczma@gryf.net]
Sent: Sunday, June 20, 1999 11:34 AM
To: toasters(a)mathworks.com
Subject: RE: Windows NT Resource Kit partial contents
On Sat, 19 Jun 1999, Muhlestein, Mark wrote:
> You're right! I forgot about the NT POSIX tools. But I was unable to ever get
> the 'chown' command to work. This stuff is pretty crude. MKS Toolkit is far
> superior. Has anyone ever gotten the NT reskit 'chown' to work? Here's what I
> get from the very latest version:
I had it working even programatically, in the times when I was foolish
enough to administer NT boxes. I can say one thing, I'm glad I went back
to my roots before this Melissa and other e-mail worms poop hit the fan.
My advice on getting chown to work: RTFM.
Tom