Warning: Writing to Windows directory, and or root directories test detected the following errors:
◦File C:\Windows\ShellNew\soffice.odt was written to an incorrect location.
◦File C:\Windows\ShellNew\soffice.ods was written to an incorrect location.
◦File C:\Windows\ShellNew\soffice.odp was written to an incorrect location.
◦File C:\Windows\ShellNew\soffice.odg was written to an incorrect location.
Impact if not fixed: Apps mustn’t store data in system folders, such as %SystemDrive% or %WinDir%. Storing app and user data in a system folder can cause access and security problems for the user. Using the Known Folder APIs ensures that you are always able to get to your data.
How to fix: Write the files to the correct folders. See link below for more information:
Working with Known Folders
These files are unneeded there, as they are also copied into proper locations.
So is there any reason to copy them there?
Andras Timar committed a patch related to this issue.
It has been pushed to "master":
fdo#52296 put ShellNew files to program's folder
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.