need to realpath restricted if it's symlink/amd-automount