Targets were executed in parallel. Set permission directly when it's needed, otherwhise it might run before 'notepadqq' is created.