You are not logged in.

#1 2006-10-08 10:22:04

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Can't use ABS as normal user.

I used makepkg as a normal user and it told me I needed fakeroot in order to get access to certain libraries; so I installed it. But I still can't use makepkg as a normal user because everytime it goes to download the source it says 'access denied'; so I have to build it as root, which I believe is something I shouldn't be doing.

Any ideas?

Thanks.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#2 2006-10-08 10:32:58

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Can't use ABS as normal user.

Don't build in ABS source tree, just copy the files elsewhere (where your user has write access).

Offline

#3 2006-10-08 10:44:21

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Can't use ABS as normal user.

or do as me: build it as sudo

sudo makepkg

KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#4 2006-10-08 10:44:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Can't use ABS as normal user.

Best to do it somewhere in your $HOME.

Offline

#5 2006-10-08 10:52:03

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: Can't use ABS as normal user.

aah. My fault. local doesn't have write permissions for others. Such a trivial mistake. DOH!


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#6 2006-10-08 11:07:29

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Can't use ABS as normal user.

To keep things in /var/abs i've somewhat followed an ABS tutorial here in forum.

1) create ABS group: "groupadd abs"
2) add your user to it: "gpasswd -a <user> abs"
3) change /var/abs/local group: "chown root.abs /var/abs/local"
4) change permission, too: "chmod 775 /var/abs/local"

Finally, log out and in to recognize in new group, and from now on you can copy package things in /var/abs/local and create there your packages roll

Offline

#7 2006-10-08 17:09:32

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Can't use ABS as normal user.

You can also edit /etc/abs/abs.conf to use something like:
[ "$ABSROOT" = "" ] && ABSROOT="/home/user/.abs"

(Note that you'll have to create the ~/.abs directory too)

No more permission worries then smile


I am a gated community.

Offline

Board footer

Powered by FluxBB