Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
General Rules for dealing with File Permissions

I have been trying to access the file for a while now and it says that I don't have the permission to enter the file. Obviously, the user that is shown is not me.

another user

permission denied

I am currently using ubuntu 12.04LTS and I would like to know what can I do with that. Thank you!

share|improve this question

marked as duplicate by Tom Brossman, andrewsomething, hhlp, Eliah Kagan, jokerdino Oct 7 '12 at 1:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
sudo cd doesn't work? –  Evandro Silva Oct 5 '12 at 21:21
    
extract the android sdk as the user you downloaded it as...don't do anything with the android sdk as root. –  hbdgaf Oct 5 '12 at 21:21
    
how do I extract the SDK from it then? only with unarchiver? well then what will I do with the file that is on my computer now? –  Jeff Labonte Oct 5 '12 at 21:30
1  
Try running gksudo nautilus and carefully deleting it, making sure to touch noting more. –  hexafraction Oct 5 '12 at 21:37
add comment

2 Answers 2

up vote 0 down vote accepted

Try this in a terminal:

cd Downloads/
sudo chown -R YOUR_USERNAME:YOUR_USERNAME android-sdk-linux/

Replace YOUR_USERNAME with your username.

share|improve this answer
    
thank to all of you, it works! –  Jeff Labonte Oct 6 '12 at 1:14
add comment

You don't have the right to read the directory, that's why you can't see what's inside. From your terminal, you can use the chmod tools like this :

chmod -R +r android-sdk-linux

This will give you the read right (+r) on all the directory inside the SDK (-R) and you will be able to enter the folder.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.