makepkg: Remove setgid bit on srcdir/pkgdir creation
commit22331fdadb1b055030a6f68e2bb9eed589187a10
authorDan McGee <dan@archlinux.org>
Sat, 6 Mar 2010 12:02:36 +0000 (6 22:02 +1000)
committerDan McGee <dan@archlinux.org>
Sun, 14 Mar 2010 23:32:44 +0000 (14 18:32 -0500)
tree327e61fa569c0ba4e85aae7fa0c22c41c6073ad8
parent65d43fbb843e035812dde4578afa98c4e7388374
makepkg: Remove setgid bit on srcdir/pkgdir creation

It was noted in FS#17533 that setgid bits are carried down into any created
subdirectories, and thus could end up being in a built package if the
original package directory was marked g+s. When we create src/ and pkg/,
explicitly chmod them to remove any sticky bits.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
scripts/makepkg.sh.in