Alexandre Julliard wrote:
Robert Shearman rob@codeweavers.com writes:
- /* assume we are the owner */
- if (st.st_mode & S_IRWXU)
- {
Why are you assuming that? There doesn't seem to be much sense in checking permissions without checking the owner.
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.