ntsec odds and ends

Igor Pechtchanski pechtcha@cs.nyu.edu
Thu Feb 6 19:50:00 GMT 2003

On Thu, 6 Feb 2003, Corinna Vinschen wrote:

> On Thu, Feb 06, 2003 at 01:10:33PM -0500, Igor Pechtchanski wrote:
> > No problem, I'll rewrite this (after actually looking at the code this
> > time).  However, at least on my machine, most of the files, especially in
> > /cygdrive/c, are owned by the Administrators group.  If it's not in
> > /etc/passwd, most files show up with "????????" for the user, which is not
> > very informative...
> Sure but in this case the admins group is treated as a user since it's
> in the user entry of the file's security descriptor.

Yes, it is.  What I meant was "files show up in the 'ls -l' listing with
'????????' in the user field".  Since the Administrators group is not the
current user, this field won't be set to whatever the default is, will it?
I'll have to wade through the code, I guess, to fully understand what's
going on (and probably not even then :-) ).

> I think we never get that right.  The problem is that the ls entries
> only are 8 chars long, not enough to be really informative.  Whatever
> you put in there ("unknown", "????????", "mkpasswd", "run mkpa",
> "dumbass"), you will deterministically get confused users.
> Which means, I appreciate that you're going to add a few words to the
> users guide.  It's something we can point people to.
> Corinna

      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune

More information about the Cygwin-patches mailing list