filter symlinks for resetperms