You are not logged in.
HI,ALL
my yaourt-git is normal as user. but when add following line
PacmanBin /usr/bin/powerpillin /etc/yaourtrc,then
100%[==========================================>] 374,627 214K/s in 1.7s
2010-01-21 22:17:47 (214 KB/s) - 已保存 "/var/lib/pacman/community.db.tar.gz.part" [374627/374627])
error: no write permissions to any of the following cache directories:
/var/cache/pacman/pkg/I want to launch yaourt by powerpill as non-root user, what should I do ? thanks for reply.
Last edited by smileoa (2010-01-22 02:46:01)
Offline
Not that I have tried it, but the obvious solution would be to try to change ownership and permissions of /var/cache/pacman/pkg to something along the lines of this:
groupadd pacadmin
chown -R root:pacadmin /var/cache/pacman/pkg
chmod -R g+rw /var/cache/pacman/pkg
chmod g+s /var/cache/pacman/pkg
gpasswd -a smileoa pacadminLog out and then log in again to get the new group membership.
Pacman most likely includes some sort of UID check of its own and that may be more difficult to bypass. I haven't fiddled much with pacman myself (hey, it has always worked for me!).
Last edited by hw-tph (2010-01-21 16:07:02)
Offline
@hw-tph
Thank you vey much!
I have tried it ,My issue is resolved,it's ok.
Offline
I'm haing the same problem and the solution given by ht-pw did not seem to solve my problem.
I have this problem when I do:
yaourt -Suy
Offline