+2007-09-18 Corinna Vinschen <corinna@vinschen.de>
+
+ * security.cc (set_file_sd): Open file with FILE_OPEN_FOR_BACKUP_INTENT
+ too.
+
2007-09-17 Corinna Vinschen <corinna@vinschen.de>
* path.cc (symlink_info::check): Check for STATUS_OBJECT_NAME_INVALID.
status = NtOpenFile (&fh, WRITE_OWNER | WRITE_DAC,
pc.get_object_attr (attr, sec_none_nih),
&io, FILE_SHARE_VALID_FLAGS,
- FILE_OPEN_FOR_RECOVERY);
+ FILE_OPEN_FOR_BACKUP_INTENT
+ | FILE_OPEN_FOR_RECOVERY);
if (!NT_SUCCESS (status))
{
fh = NULL;