Hi,
the create_file request checks for GENERIC_READ or GENERIC_WRITE, but not for GENERIC_ALL.
http://groups.google.de/group/microsoft.public.vc.language/browse_thread/thr...
Documented on MSDN via http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/c... --> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/f... --> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/se...
This might be an issue since some programs might want to do a CreateFile call with GENERIC_ALL. Only few programs do, however, and there is a reason for it: http://groups.google.de/group/microsoft.public.vc.language/browse_thread/thr... indicates that GENERIC_ALL is problematic, so maybe it's not too bad that wineserver doesn't support it properly.
JFYI,
Andreas
Andreas Mohr wrote:
Hi,
the create_file request checks for GENERIC_READ or GENERIC_WRITE, but not for GENERIC_ALL.
The flags should be mapped from generic to specific access rights. The wineserver should then check for a subset of these attributes. This would also allow applications to use FILE_READ_DATA and FILE_WRITE_DATA and still work.