Score:0

Problem while installing Android Studio

gb flag

I had once installed android studio once and while it was updating the files got corrupt and I was getting a message to install it from scratch. So first I went to /usr/local/ and deleted the directory android-studio (Probably my biggest mistake) then I extracted android-studio-2020.3.1.25-linux.tar.gz in /usr/local/ from after that for some reason I am not able to access it without going as root. What shouuld I do?

Following is the output I am getting after using cd /usr/local/

bash: cd: /usr/local/: Permission denied

hu flag
Check the permissions: `ls -ld /usr/local`.
Johan Palych avatar
us flag
Android Studio by Google for Ubuntu https://launchpad.net/~maarten-fonville/+archive/ubuntu/android-studio
Vasishth Roy avatar
gb flag
@mikewhatever trying it out I got >`drwx------ 11 root root 4096 Jan 1 2010 /usr/local `
hu flag
Those permissions allow access to root only. The default is `drwxr-xr-x`, so you might want to change it: `sudo chmod 755 /usr/local`.
Vasishth Roy avatar
gb flag
@mikewhatever thanks I got the access
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.