Okay, tracked this down to FolderKeeper::AddContentFileToFolder and specifically to this line.
QFile::copy(fullfilepath, new_file_path);
So it appears that copying "permissions" must be a "feature" of Qt's QFile::copy() but only for non html text files. html text files are handled by the Importer code which does not use QFile::copy.
We can of course rewrite this to do a text based file read and destination file write if we determine the filetype is in fact text and not binary.
I will look into it.
|