Set right permissions.