Score:-1

Ubuntu denied access to remove directory

in flag

I tried this command: rmdir -r android-studio

I am getting this error: rmdir: failed to remove 'android-studio': Permission denied

How can I fix this? [I am using Ubuntu in dual boot with windows 10]

guiverc avatar
cn flag
You may need to elevate privileges with the aid of `sudo`
Nmath avatar
ng flag
Please edit your question and include more context and details. You should include the command that you are attempting along with the full output
Score:0
de flag

If it doesn't remove the directory with sudo try installing midnight commander

sudo apt install mc

then

sudo mc

find the path and then press F8

Score:0
in flag

guiverc told the right:

sudo rm -r android-studio

It works.

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.