On 12/21/06, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On 12/21/06, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
I'm thinking about why abs should be run as root currently? I don't see the point for this. :-/ Why not make it behave like makepkg - to be run as ordinary user and store everything in his home dir (or another dir, configurable)? What do you think?
This actually is configurable by changing ABSROOT. The issue is that /var/abs is root owned by default. I think adding an abs group might be worthwhile for something like that. root:abs on /var/abs and then let someone change ABSROOT to their homedir or something like that. It could be a commandline option too.... /me ponders
I use the wheel group for this purpose only. An abs group might be a smart addition. Looking at the abs script for the first time, it only checks that you have write permissions in the directory (I should take a look at that $SRCDEST stuff in makepkg in this light...). How about a ~/.abs.conf inclusion? -Dan