On 2005.04.08 08:06:47 -0400, Bill Roberts wrote:
I've started using sudo in preference to su'ing, but I've found that
echo doesn't seem to work with sudo.
$ sudo echo something /etc/portage/package.keywords
-/bin/bash: /etc/portage/package.keywords: Permission denied
This is more a job for *nix file permissions than for sudoers. You
might run echo with root priviledges, but that doesn't include
access to roots files. I would go the straightforward way of
chown :wheel /etc/portage/package.*
chmod g+w /etc/portage/package.*
--
Christian Prior
http://christianprior.de
--
gentoo-user@gentoo.org mailing list