diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-10-03 12:32:55 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-10-03 12:32:55 +0200 |
commit | a26416dca3c4ada1baf76712c43332bc960f9c20 (patch) | |
tree | f7e777e956ee049a20c34d446df3f1fb144d5338 | |
parent | 37bb1d33a78130743bda3e4a0bdde3768e2b6062 (diff) | |
download | devtools32-a26416dca3c4ada1baf76712c43332bc960f9c20.tar.xz |
makechrootpkg: do not run namcap as root
-rw-r--r-- | makechrootpkg.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in index 9ed7161..0535c8c 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -275,7 +275,7 @@ if $run_namcap; then pacman -S --needed --noconfirm namcap for pkgfile in /build/PKGBUILD /pkgdest/*.pkg.tar.?z; do echo "Checking \${pkgfile##*/}" - namcap "\$pkgfile" 2>&1 | tee "/build/\${pkgfile##*/}-namcap.log" + sudo -u nobody namcap "\$pkgfile" 2>&1 | tee "/build/\${pkgfile##*/}-namcap.log" done fi |