You are not logged in.
I installed yaourt via the pkgbuild method as a regular user (foobar).
Afterward, I added
foobar ALL=(ALL) NOPASSWD: /usr/bin/pacman
foobar ALL=(ALL) NOPASSWD: /usr/bin/pacdiffviewer
to sudoers.
I went to install pacman-color, as regular user:
$ yaourt -S pacman-color
mkdir: cannot create directory '/tmp/yaourt-tmp-foobar': Permission denied.
Hmm. /tmp is owned by root:root and has drwxr-xr-x permissions.
I didn't think you were supposed to user yaourt with root permissions, because I never did before. Sure enough, when I tried "sudo yaourt -S pacman-color" it freaked out and warned me that running pkgbuild stuff as root is a BAD IDEA. So I'm kind of stuck.
I've been away from Arch for a while, but I don't remember yaourt being any big deal last time around. Is this a bug, or am I doing something wrong? Most likely the latter.
Last edited by futuremonkey (2009-03-29 19:55:58)
Offline
The permissions on your /tmp are wrong. Try "sudo chmod 1777 /tmp".
Offline
As root try:
chmod 1777 /tmp
--EDIT--
Yikes! Beaten by peart once again!
Offline
Thanks, folks, that did the trick. I figured it was something like that, but since this is a fresh install and I haven't had much time to break things yet I assumed the permissions were "as-intended".
Offline