I installed Android Studio in my /opt directory without a hitch and have been using it. Recently, though, Android Studio informed me of an update. It won't perform the update, however, because it says it doesn't have Read / Write permissions in the opt directory where it's installed.
Can anyone recommend the best remedy for this situation? I would prefer not to move my installation to another directory. I also don't know that I want to change permissions on the directory, though I might be tempted to do so for the update, then revert it back.
Error message:
Studio does not have write access to /opt/android-studio. Please run it by a privileged user to update
sudo /opt/android-studio
and then update ? – Mark Kirby Jun 30 '15 at 14:00sudo
just will not save the day. For the love of Mike, this is still happening in 2020. I gave up opened up permissions on /opt and called it a day. Does it worry me? You bet. But for a non-server system; notsomuch.... – tgm1024--Monica was mistreated Oct 11 '20 at 01:28