Using “sudo -e” rather than “sudo nano” gets around this problem by
invoking your editor as yourself on a temporary buffer rather than as
root.  See the description of -e in the sudo(8) manpage.

-- 
Need better way of handling permissions with nano and sudo mix
https://bugs.launchpad.net/bugs/72995
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to