Sets proper permission to plugin-files.