This is the mail archive of the
mailing list for the Cygwin project.
Re: Owner/Group showing up as "??????????" on some Windows files despite mkpasswd/mkgroup
Larry Hall (Cygwin) wrote:
> On 1/2/2011 9:09 AM, aputerguy wrote:
>> Csaba Raduly-2 wrote:
>>> On Sun, Jan 2, 2011 at 7:59 AM, aputerguy wrote:
>>>> If trustedinstaller is a valid file owner then I would like it to show
>>>> the file owner in cygwin so that rsync transfers it over properly.
>>>> Presumably this would mean adding it to my /etc/passwd file though I'm
>>>> sure what would be the best entry to use.
>>>> On the other hand if trustedinstaller SHOULD NOT be owning any files
>>>> just an error on my windows system then I would like to correct the
>>>> ownership in windows so that the files have the correct owners.
>>> On Windows 7 and Vista, "trustedinstaller" owns (and is supposed to
>>> own) all the files of the OS:
>>> (quoted in
>> If so, wouldn't it make sense to add trustedinstaller to the passwd and
>> group file to distinguish those files that have a legitimate ownership
>> others that truly may be owned by an unknown user?
> Sure. But the point is that the SID isn't considered a Windows user so
> why it doesn't show up by default. As a work-around for now, you can add
> line like this to your '/etc/passwd' file:
> TrustedInstaller:unused:80:544:Trusted Installer,U-NT
> (The above is all on one line)
> This will make "TrustedInstaller" show up as the user, just like you will
> in Windows. The group is still '????????' though. I'll leave tracking
> the proper SID for the group as an exercise for the reader. ;-)
- Are you aware of any other "non-user" users & groups on a typical
Vista/Windows7 installation that I should be looking out for and making
ad-hoc adjustments for as above?
- Just so I can understand, can someone explain to me the rationale for not
having cygwin by default be able to recognize such an incredibly common and
seemingly standard owner of files as the TrustedInstaller ssid? I'm not sure
I understand the benefit of mapping such a common and known owner to the
'????????' notation which is supposed to be for unknown users and groups.
I mean from a user perspective, I don't see the downside of not including
any standard user who is likely to own files. I mean just like in regular
*nix, we create users for services such as mail, apache, etc that are likely
to be owning and/or requiring access to files, why wouldn't we do the same
Thanks for enlightening me :)
View this message in context: http://old.nabble.com/Owner-Group-showing-up-as-%22----------%22-on-some-Windows-files---despite-mkpasswd-mkgroup-tp30555568p30575008.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple