[PATCH setup] Add new option --chown-admin

Jon Turney jon.turney@dronecode.org.uk
Tue Nov 29 21:37:34 GMT 2022


On 04/10/2022 13:05, Christian Franke wrote:
> Jon Turney wrote:
>>
>> Corinna had some concerns about making the owner a group, rather than 
>> a user, which I believe historically caused some difficulties in 
>> Cygwin, so I think I'll need to understand that better before making a 
>> decision about this change.
> 
> I see. Do you have any info about these difficulties?
> Are these still relevant? If yes, let's forget this patch.

After a bit of research, I think the issue was that if you make user 
owner and group owner map onto the same Windows SID, certain unix access 
permissions cannot be reversibly mapped onto a Windows ACL.

(e.g you can't set the mode to 0600, because when you read that back, 
it's mode is 0660. Some programs e.g ssh check for and require 0600 
permission on some files)

This perhaps isn't terribly relevant to files created by setup.



More information about the Cygwin-apps mailing list