You are not logged in.

#1 2007-04-02 03:09:31

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Changing permissions for makepkg files

I'm made an exaile 0.2.9 package for x86_64 for myself since it's not in the x86_64 repositories yet.  I was thinking of fixing it up and poping it in the AUR.  I'm having a bit of trouble with it though.

When it installs, the executable looses the executable bit in it's permissions.  The pkg directory that makepkg creates seems to get it right:

ls -l /var/abs/local/exaile/pkg/usr/share/exaile/exaile.py
-rwxr-xr-x 1 jon users 84642 2007-04-01 14:30 /var/abs/local/exaile/pkg/usr/share/exaile/exaile.py

But when I run install it, it looses the +x bit:

yaourt -S /var/abs/local/exaile/exaile-0.2.9-1.pkg.tar.gz
ls -l /usr/share/exaile/exaile.py
-rw-r--r-- 1 root root 84642 2007-04-01 14:30 /var/abs/local/exaile/pkg/usr/share/exaile/exaile.py

Is there some way to fix this?
I've noticed that a few other packages in AUR mess-up permissions too... One of them set my /usr and /usr/lib to be readable only by root!

Offline

#2 2007-04-02 09:23:46

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

Re: Changing permissions for makepkg files

Install fakeroot. That will ensure the correct permissions are applied.

If there are buggy packages in the AUR, report them to the maintainer immediately. If there's no response, report them to the tur-users mailing list so a TU can deal with them.

Always remember to read through the PKGBUILDs before building and installing packages from the AUR - or from anywhere other than the established repos, for that matter.

Offline

#3 2007-04-02 14:59:57

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Changing permissions for makepkg files

This may be a bug in coreutils we're looking into:
http://archlinux.org/pipermail/arch-dev … 00042.html

Offline

#4 2007-04-02 22:53:59

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: Changing permissions for makepkg files

phrakture wrote:

This may be a bug in coreutils we're looking into:
http://archlinux.org/pipermail/arch-dev … 00042.html

Sounds like it is.  Let me know if I can help out in anyway.

Offline

Board footer

Powered by FluxBB