The problem is that sudo is setuid root (and has to be). There is no way
of doing something before it gets root privileges.

However, changing the effective user id to the user, create the file,
and then changing it back should work.

** Changed in: sudo (Ubuntu)
     Assignee: (unassigned) => Martin Pitt
       Status: Confirmed => In Progress

-- 
introduction message does not go away
https://launchpad.net/bugs/49233

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

Reply via email to