-1

I did a fresh install of Ubuntu 10.04 (GNOME) and I'm just copying over certain files from my backup which is on a Windows computer. The backup includes:

  • A few scripts in /usr/bin
  • A number of websites in /var/www
  • A couple of startup scripts in /etc/init.d

I'm comfortable using the command line, but for this kind of one-off quick copy I'd rather use the GUI. I know I can gksudo nautilus but this is a bit cumbersome, loses any personal GNOME customisations, and keeps elevated privileges until the process is terminated.

What I'd like is that when I attempt a file copy that currently gives a permissions error, I get an option to temporarily elevate privileges. Can anyone help?

TIA

Andy

Andy
  • 3,137

1 Answers1

0

Never heard about such thing. You could do this with checking the error message and then prompting for password. However this is a modification of Nautilus, not a simple addon, since I don't think Nautilus supports such addons. (Guess you could write this on a code freelancer page. You pay x$ if someone writes a nautilus fork with this feature. Well.. not a long term solution.)

Basically you could write a .sh script for the backup and run that with sudo, OR simply use sudo cp -R ... something like that. (Rsync?)

Apache
  • 16,299