Set correct permissions even if auto activation is not enabled, closes #945