Update failed due to file permissions


Hello all,

I was attempting to do an update to Atom and received the error:

Could not create temporary directory: Permission denied```

I couldn't find the documentation on which directory Atom tries to write to when downloading a new copy of itself. Anyone know where its trying to write to so I can change permissions?



Could you give the following information?

  • Which version of Atom are you using?
  • What OS and version are you running?


Totally my bad, sorry about that!

OS X 10.10.3
Atom 0.190.0


Hmmmmm … I haven’t run into that. Is your user account not an Administrator?


Double checked and my account is an admin account.


I don’t know how that works on OSX, but is there something about the temp folder? Any process that might lock it or permissions that could prevent even an admin from writing to it?


Not that I know of … but admittedly, I’m still learning OS X internals.


Where does apm create its temp folder?


Good question. I can’t find anything in OSX console or a log output for Atom. Anyone have any clues?



Bumping again just to see if anyone knows where Atom writes to when it creates a temp dir for downloading the update for itself in OS X.


Found this issue on the github page https://github.com/atom/atom/issues/5160 and it fixed my issue. The file/directory was ~/Library/Application\ Support/com.github.atom.ShipIt and it was owned by root, not by my user.

Thanks all.


Change the directory owner

sudo chown -R $USER ~/Library/Application\ Support/com.github.atom.ShipIt


Worked for me! Thanks