Accessing hidden service path for tor hostname file

I’m told (by OS) that permission is denied when changing directory from root to:

/var/lib/tor

I’ve tried the sudo master account override, to no avail.

I’ve included a screenshot of the output of my attempts.