This is not a bug. In your command, "echo" is run as root, but the > is handled by your shell, so is running as your user - hence the permission denied. Instead, you should do something like:
echo "foo" | sudo tee -a /var/log/messages
** Changed in: sudo (Ubuntu)
Status: Unconfirmed => Rejected
--
Why can't do this ?
https://launchpad.net/bugs/51141
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
