I’m trying to check descendants of “/var/adm” for other=write. I’ve come across a symlink to an NFS share that i need to exclude. here is the relevance i’m using but doesn’t seem to be working. It’s not excluding the symlink (which contains “lib” in the pathname). this relevance is processing the symlink folder and is taking hours to process.
(exists folder “/var/adm” whose (other write of it = true)) OR (exists descendants whose ((exists symlink it equals false) AND ((pathname of it does not contain “atria” and pathname of it does not contain “rational” and pathname of it does not contain “lib”) AND (other write of it = true))) of folder “/var/adm”)
is there something else to use besides ‘descendants’? if so, i’m all for it.
unfortunately, neither of the suggestions have helped. the relevance is still churning on the symlink/directry that i need to exclude. its like the relevance has to continue to evaluate every path recursively before it will return.