* uinfo.cc (pwdgrp::load): Open file with FILE_OPEN_FOR_BACKUP_INTENT
flag.
This commit is contained in:
parent
01d2675aea
commit
93e884989a
@ -1,3 +1,8 @@
|
||||
2009-01-26 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* uinfo.cc (pwdgrp::load): Open file with FILE_OPEN_FOR_BACKUP_INTENT
|
||||
flag.
|
||||
|
||||
2009-01-24 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mount.cc (mount_info::from_fstab): Open fstab file with
|
||||
|
@ -543,7 +543,9 @@ pwdgrp::load (const wchar_t *rel_path)
|
||||
paranoid_printf ("%S", &upath);
|
||||
|
||||
status = NtOpenFile (&fh, SYNCHRONIZE | FILE_READ_DATA, &attr, &io,
|
||||
FILE_SHARE_VALID_FLAGS, FILE_SYNCHRONOUS_IO_NONALERT);
|
||||
FILE_SHARE_VALID_FLAGS,
|
||||
FILE_SYNCHRONOUS_IO_NONALERT
|
||||
| FILE_OPEN_FOR_BACKUP_INTENT);
|
||||
if (!NT_SUCCESS (status))
|
||||
{
|
||||
paranoid_printf ("NtOpenFile(%S) failed, status %p", &upath, status);
|
||||
|
Loading…
Reference in New Issue
Block a user