1

I upgraded my Mac to High Sierra and I wanted to open the sleep image which is situated in /private/var/vm But when I opened it it showed 'you have no acces to open this file please contact your administrator or network administrator' message like that.I am not sure whether this is a problem with me or has Apple restricted access to sleep image on high sierra

  • 1
    Why do you want to do this? – user151019 Oct 1 '17 at 12:57
1

Find these keys on your keyboard command+I this will open the get info window

After the windows opens scroll down and click on the sharing & permission

Now if you don't see your username in the filed which appears after clicking on sharing & permissions then add your username (Admin) by clicking on the plus sign

Now if this doesn't works then again click on the plus sign and add Administrator (First check is Administrator is visible in the filed or not after clicking sharing and permission)

After pressing command+i you will get to see a window like this after which you will have to click on the lock icon!

enter image description here

Then enter your password

enter image description here

Now a second overlaying window will appear on your mac screen

Now, You will have to select either your username or administrators and add it to the sharing and permissions field

After that there wouldn't be any permission issues!

enter image description here

  • doesn't work. I don't have necessary permissions to add my name or my group. Sorry. Furthermore this sleepimage is corrupted and the answer seems to delete this file but impossible. Very irritating because my mac book pro restart in the middle of the night every night even though it's closed – Michele Nov 16 '17 at 1:16
  • Try deleting it by entering sudo rm -r /private/var/vm this will erase it no matter what – user244378 Nov 16 '17 at 1:25

You must log in to answer this question.