copy as root

Gabriel Dragffy dragffy at yandex.ru
Fri Mar 9 22:06:34 UTC 2007


John Dangler wrote:
> Wow.  8 replies, all from the same person.
> 
> The drive I'm copying to is on a win machine.
> I don't have rsync installed.
> 
> sudo nautilus sounds like a plan...
> I'm only copying everything from my home folder to this drive so I can
> re-install Edgy, since my sound and usb stuff died with the last
> updates, as well as Evolution 2.8.1 barfing every 20 minutes.
> 
> I've spent the last 6 days looking for solutions, and and, since I can't
> seem to get to the bottom of it, and apparently no one here knows
> anything about how to repair it, I'll just re-install from scratch and
> see where that takes me.
> 
> Thanks for the input (I did think I had seen a thread here a while back
> that mentioned this same functionality (running nautilus as root), but I
> couldn't find it in the archive... it had to with a file
> called .sudo-as-admin-success ... or something like that...
> 
> On Fri, 2007-03-09 at 20:27 +0000, Gabriel Dragffy wrote:
>> John Dangler wrote:
>>> I want to back up my entire home directory to another drive using
>>> nautilus.  When it starts, I get a lot of messages saying I can't copy
>>> this file or this directory because I don't have permission.  How can I
>>> copy these files/directories with sudo privileges?
>>>
>>>
>> I'd say it's best to open up the terminal and do:
>> $ sudo rsync -av /home /another/device/
>>
>> man rsync
>> for more information.
>>
>>
>> If you want to start nautilus as root then you can press Alt+F2, and as 
>> the run command enter:
>> gksu nautilus
>>
>> Use this with care.
>>
> 
> 

Sorry.
There is something messed up with my smtp. It says that the message I'm 
sending has failed, so I keep trying until I don't get an error. It 
seems that some of my messages have been delivered regardless.

Rsync is installed by default in ubuntu. Otherwise you can use
sudo cp -av /home /another/device

don't try to tell me you don't have 'cp' installed!






More information about the ubuntu-users mailing list