FIX: Move files when can not copy attributes (e.g. move files from NTFS to EXT3 file system under Linux)

This commit is contained in:
Alexander Koblov 2011-09-04 18:03:09 +00:00
commit a98983666a

View file

@ -790,8 +790,10 @@ begin
end;
end;
// copy file attributes
Result := mbFileCopyAttr(SourceFile.FullPath, TargetFileName, FDropReadOnlyAttribute);
// Copy file attributes
// TODO: May be is better to show error dialog when can not copy
// attributes, with buttons like: Ignore, Ignore All, Cancel
mbFileCopyAttr(SourceFile.FullPath, TargetFileName, FDropReadOnlyAttribute);
except
on EFCreateError do