need realpath of restricted if is an auto mounted amd path
strncmp should use rpath