[PATCH 4/4] server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions.
rob at codeweavers.com
Wed Oct 3 05:16:37 CDT 2007
Alexandre Julliard wrote:
> Robert Shearman <rob at codeweavers.com> writes:
>> We don't have a mapping between NT SIDs and Unix user IDs in Wine, so
>> if the owner is different then there isn't much we can do with it.
> You can't report the correct user SID, but you can still report more
> correct permissions for the current user by checking IRWXO instead of
> IRWXU if the user is not the owner. Another possibility would be to
> have some sort of "other user" SID that all uids map to except the
> current one.
The SID for "anonymous logon" seems to be the most appropriate choice
for the latter suggestion. Also, tests on Windows show that "Builtin
Users" may be a better choice to map the Unix others permissions to than
More information about the wine-devel