http://bugs.winehq.org/show_bug.cgi?id=14334
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2008-09-02 04:21:37 --- (In reply to comment #3)
ntdll::NtQuerySecurityObject calls the Wine server. An fprintf added to handle.c::DECL_HANDLER(get_security_object) confirms that the object that corresponds to the handle for the directory has no security descriptor. That is sd->obj is 0.
That's the real reason of the regression. Looks like the code at server/file.c, file_get_sd() should be improved for directories.
I've gone as far with this on my own as I think I can.
Thanks for the great analysis. Taking into account how far you have come with your journey into Wine code perhaps you could have a go with fixing it?