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.

I get the following error message while starting tor:

flagg@flagg-eMachines-E627:~$ sudo chown -Rv $flagg ~/.tor-browser
[sudo] password for flagg: 
chown: missing operand after ‘/home/flagg/.tor-browser’
Try 'chown --help' for more information.
flagg@flagg-eMachines-E627:~$ 

I get this message or a file doesnt exist error when trying to run chown command

I am such a newbie and I probably screwed up while updating to ubuntu 13.04 or during the tor install.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

This should solve the problem. Replace USERNAME below with actual username.

32-bit instructions

Install tor as follows:

sudo add-apt-repository ppa:upubuntu-com/tor
sudo apt-get update
sudo apt-get install tor-browser

Now change folder ownership of /usr/bin/tor-browser to your current user with this command:

sudo chown -R USERNAME /usr/bin/tor-browser

64-bit instructions

Install tor as follows:

sudo add-apt-repository ppa:upubuntu-com/tor64
sudo apt-get update
sudo apt-get install tor-browser

Now change folder ownership of /usr/bin/tor-browser to your current user with this command:

sudo chown -R USERNAME /usr/bin/tor-browser <BR>

Thanks for pointing the mistake amc. Fixed it now.

share|improve this answer
    
-E627:~$ sudo chown -R flagg: /home/flagg/.tor-browser chown: cannot access ‘/home/flagg/.tor-browser’: No such file or directory flagg@flagg-eMachines-E627:~$ did all that and got this –  flagg Sep 24 '13 at 4:05
    
flagg@flagg-eMachines-E627:~$ sudo chown -R flagg ~/.tor-browser chown: cannot access ‘/home/flagg/.tor-browser’: No such file or directory flagg@flagg-eMachines-E627:~$ –  flagg Sep 24 '13 at 4:08
    
is it possible i have screwd up and there is no home folder? or im in the wrong directory i have such a crappy understanding of the file system –  flagg Sep 24 '13 at 4:14
    
No flagg... just changed the path use the above path again to take ownership... Use this... <BR> $sudo chown -R USERNAME /usr/bin/tor-browser<BR> –  migrator Sep 24 '13 at 4:20
    
thanks works now thank you for your patience –  flagg Sep 24 '13 at 4:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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