[PATCH 4/4] server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions.

Alexandre Julliard julliard at winehq.org
Wed Oct 3 04:30:56 CDT 2007

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.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list