From https://aur.archlinux.org/packages/firefox-extension-ublock/:
Comment by m42a 2015-02-16 19:44
I had the same problem as hbdee, and their fix worked for me as well.
Comment by poly 2015-02-12 01:29
Weird, it works fine here... I've installed all my addons this way, and
they seem to work
Comment by hbdee 2015-02-11 12:38
Sure. The permissions for files in your build are -rw-r--r--, so I
still see adverts, cannot access certain parts of the extensions
options, and there is no icon for the toolbar. I'm sure there's other
problems as well, but I couldn't be bothered to investigate as
everything is readable but not executable, which is the crux of the
problem. When permissions are -rwxr-xr-x everything works as expected.
Comment by poly 2015-02-10 19:23
hbdee, could you elaborate on the problem?
Comment by hbdee 2015-02-10 14:17
@poly There's a permissions problem. Could you add the following lines
to the PKGBUILD to fix it? Thanks.
cp -dpr --no-preserve=ownership * $dstdir
chmod -R 755 $dstdir