Re: [Tutor] Copy file as root

2008-06-12 Thread Timo
John Fouhy schreef: > On 11/06/2008, Timo <[EMAIL PROTECTED]> wrote: > >> Hello, I'm writing a program in Python/pyGTK and I need to be root 2 >> times. The first time is to open a file, let's say menu.lst. I use >> os.system('gksudo gedit /boot/grub/menu.lst'), so that works. But what >> if

Re: [Tutor] Copy file as root

2008-06-11 Thread John Fouhy
On 11/06/2008, Timo <[EMAIL PROTECTED]> wrote: > Hello, I'm writing a program in Python/pyGTK and I need to be root 2 > times. The first time is to open a file, let's say menu.lst. I use > os.system('gksudo gedit /boot/grub/menu.lst'), so that works. But what > if I have a copy of the file on my