Try to become root (
sudo su -) and then access the contents of the file/folder.
sudo elevates your permissions only temporarily.
If you are not a member of a group that has execute permissions on a directory you will [not] be allowed to enter that directory. Below, I have removed the execute bit from the permissions of group wheel, of which this user is a member. (previously
drwxr--r-x 2 root wheel 128 Sep 1 18:48 zfs
[user@host /etc]$ sudo cd zfs
I am able to execute the command
sudo cd zfs and it runs fine. But when the command completes I find that my working path is not inside the zfs directory.
Verify the permissions of the directory that you are attempting to enter. The user or member of the group must have the execute permission.