You are not logged in.

#1 2010-01-21 14:44:51

smileoa
Member
Registered: 2010-01-21
Posts: 8

yaourt issue,please! ---[RESOLVED]

HI,ALL
my yaourt-git is normal as user. but when add following line

PacmanBin /usr/bin/powerpill

in /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

#2 2010-01-21 16:05:51

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: yaourt issue,please! ---[RESOLVED]

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 pacadmin

Log 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

#3 2010-01-22 02:42:53

smileoa
Member
Registered: 2010-01-21
Posts: 8

Re: yaourt issue,please! ---[RESOLVED]

@hw-tph
Thank you vey much!
I have tried it ,My issue is resolved,it's ok.

Offline

#4 2010-04-20 00:49:05

manouchk
Member
Registered: 2008-07-29
Posts: 313

Re: yaourt issue,please! ---[RESOLVED]

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

Board footer

Powered by FluxBB