Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=feb697448db4241842d6357b55d5dc292ad7bed6

commit feb697448db4241842d6357b55d5dc292ad7bed6
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Fri Oct 15 10:35:57 2010 +0200

syncpkgcd: document how to keep $HOME across sudo

diff --git a/syncpkgd/syncpkgcd.txt b/syncpkgd/syncpkgcd.txt
index 9ae5df6..e6d171d 100644
--- a/syncpkgd/syncpkgcd.txt
+++ b/syncpkgd/syncpkgcd.txt
@@ -70,6 +70,15 @@ syncpkgd ALL=(ALL) NOPASSWD: /usr/bin/makepkg
is in `/etc/sudoers`. It should be, if you installed the `pacman-tools` package
and you haven't commented it out.

+Also, if you set the `CHROOTDIR` in `/etc/makepkg.conf` to be
+`$HOME`-dependent, then make sure to set
+
+----
+Defaults env_keep += "HOME"
+----
+
+in `/etc/sudoers` as well.
+
* Finally you can enable and start syncpkgcd as root:

----
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to