Actually that would be gksudo to use a step backwards, under Ubuntu 12.04, there is not a problem. The files are not modified to Owner 'root'.
If I 'gksudo ...' use, I always have to enter my password, with 'sudo ...' only once.
Even if I 'sudo -s' use, the owner is changed to 'root':
axelw@work2:~$ sudo -s
[sudo] password for axelw:
root@work2:~# pwd
/home/axelw
root@work2:~# chown -R axelw:axelw /home/axelw
root@work2:~# pluma /etc/lightdm/lightdm.conf
...
root@work2:~# find /home/axelw -user root
/home/axelw/.local/share/recently-used.xbel
/home/axelw/.config/pluma/pluma.ini
Actually that would be gksudo to use a step backwards, under Ubuntu 12.04, there is not a problem. The files are not modified to Owner 'root'.
If I 'gksudo ...' use, I always have to enter my password, with 'sudo ...' only once.
Even if I 'sudo -s' use, the owner is changed to 'root': lightdm. conf .local/ share/recently- used.xbel .config/ pluma/pluma. ini
axelw@work2:~$ sudo -s
[sudo] password for axelw:
root@work2:~# pwd
/home/axelw
root@work2:~# chown -R axelw:axelw /home/axelw
root@work2:~# pluma /etc/lightdm/
...
root@work2:~# find /home/axelw -user root
/home/axelw/
/home/axelw/