fixing permissions for jobs