avoid changing permissions on shadow files