I installed Android Studio via homebrew “brew cask install android-studio” as a part of my automated Mac OS setup. Recently, Android Studio prompted me that an update is available. This error was confusing; I was running Android Studio as myself, a nonprivileged user and the same user owned this directory.