Alexandre Julliard wrote: > Robert Shearman <[EMAIL PROTECTED]> 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 "Everyone". -- Rob Shearman