>From one problem to another.... 

I'm trying to backup my home directory, but get the following error: 

sudo tarsnap -cf john.home_22032014 john
[sudo] password for john: 
tarsnap: john/.gvfs: Cannot stat: Permission denied 

Does anyone know what this means and how to fix/get round it? 

I'm trying to run the backup from within the /home/ directory. The
permissions are as shown: 

drwxr-xr-x 52 john john 4096 Mar 22 12:43 john 

However, I thought that running a command as 'sudo' gave root access to
everything? 

I get the same result whether or not I describe the directory I want to
back up as 'john', or './john' or '/john' - makes no difference. (I find
that 'ls' will work with 'john', or './john', but not with '/john'.
Anyone know why this should be or is it just a Linux oddity? 

Apologies for writing in with yet another problem. 

John 
 


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

Reply via email to