1. 28 Dec, 2018 1 commit
    • Dmitry Timoshkov's avatar
      kernel32: CreateDirectory shouldn't return ERROR_ACCESS_DENIED for the root of the drive. · c26b6afa
      Dmitry Timoshkov authored
      According to the testbot results CreateDirectory("C:\\", NULL) fails
      with ERROR_ACCESS_DENIED for not administrators. However with UAC enabled
      and not and administrator account I get ERROR_ALREADY_EXISTS in that case
      with Windows 7 64-bit running on real hardware. Moreover, Wine doesn't
      really perform any access checks in that case and blindly assumes that
      returning STATUS_ACCESS_DENIED is correct behaviour for the drive's root:
      dlls/ntdll/directory.c,lookup_unix_name().
      
      This patch fixes an application that can't find its data files because
      after it receives ERROR_ACCESS_DENIED it stops further directory traversing.
      Signed-off-by: 's avatarDmitry Timoshkov <dmitry@baikal.ru>
      Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
      c26b6afa
  2. 14 Aug, 2018 1 commit
  3. 19 Feb, 2018 1 commit
  4. 02 Oct, 2017 1 commit
  5. 02 May, 2017 2 commits
  6. 25 Aug, 2016 1 commit
  7. 08 Aug, 2016 1 commit
  8. 04 May, 2016 2 commits
  9. 03 May, 2016 2 commits
  10. 02 May, 2016 1 commit
  11. 28 Apr, 2016 1 commit
  12. 18 Apr, 2016 1 commit
  13. 09 Feb, 2016 1 commit
  14. 22 Jan, 2016 1 commit
  15. 25 Dec, 2015 1 commit
  16. 21 Dec, 2015 1 commit
  17. 05 Oct, 2015 1 commit
  18. 02 Oct, 2015 1 commit
  19. 12 Jun, 2015 2 commits
  20. 22 May, 2015 1 commit
    • Ken Thomases's avatar
      ntdll: Avoid one of the calls to getattrlist() when read_directory_getattrlist()… · 5514df9d
      Ken Thomases authored
      ntdll: Avoid one of the calls to getattrlist() when read_directory_getattrlist() checks the case sensitivity of the file system.
      
      Extract a new function, get_dir_case_sensitivity_attr_by_id(), from
      get_dir_case_sensitivity_attr().  Call that instead of get_dir_case_sensitivity()
      from read_directory_getattrlist().  We get the device and file system IDs from
      the same getattrlist() call we're already doing, so that avoids an extra call.
      5514df9d
  21. 21 May, 2015 4 commits
  22. 20 May, 2015 2 commits
    • Matteo Bruni's avatar
      ntdll: Ignore positive matches in read_directory_stat() for case-insensitive filesystems. · 2f0febe6
      Matteo Bruni authored
      It's necessary to return the actual filename with correct casing and a
      plain stat doesn't allow that. Make read_directory_stat() return the
      result of the stat() call on a case-insensitive filesystem only when the
      file is missing.
      2f0febe6
    • Matteo Bruni's avatar
      ntdll: Implement a read_directory_getattrlist() function. · 5d65b9d0
      Matteo Bruni authored
      When searching for a specific filename on a case-insensitive filesystem
      we first try with stat(). If stat() does find the file we currently
      return the requested filename back.
      
      That presents an issue when the application cares about the casing of the
      actual file stored on-disk. Specifically, NtQueryDirectoryFile is
      supposed to return the actual filename with correct casing.
      
      One possible solution to the issue, without having to resort to manually
      scanning the directory entries, is to make use of the OS X getattrlist()
      function, since it can return the filename stored on the filesystem.
      5d65b9d0
  23. 16 Mar, 2015 1 commit
  24. 02 Mar, 2015 1 commit
  25. 17 Dec, 2014 1 commit
  26. 23 Sep, 2014 1 commit
  27. 05 Sep, 2014 1 commit
  28. 30 Jul, 2014 1 commit
    • Ken Thomases's avatar
      ntdll: In find_file_in_dir(), don't test directory entries' short names if the… · a14ed527
      Ken Thomases authored
      ntdll: In find_file_in_dir(), don't test directory entries' short names if the target name isn't a short name.
      
      hash_short_file_name() will always create a short name of at least 8 characters
      with the 5th being a tilde (~).  If the target name isn't of that form, then it
      can never match any short name constructed from the directory entries.
      a14ed527
  29. 15 May, 2014 2 commits
  30. 07 Apr, 2014 2 commits