Fixing permissions.