git » kdesu.git » commit 456e076

Set SGID flag on kdesud (FS#44277)

author Antonio Rojas
2015-03-20 18:44:53 UTC
committer Antonio Rojas
2015-03-20 18:44:53 UTC
parent 6a309d9893156854afcb080c1634641078d8c773

Set SGID flag on kdesud (FS#44277)

PKGBUILD +5 -1

diff --git a/PKGBUILD b/PKGBUILD
index db6e0f8..07eb38f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=kdesu
 pkgver=5.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Integration with su for elevated privileges'
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/frameworks/kdesu'
@@ -33,4 +33,8 @@ build() {
 package() {
   cd build
   make DESTDIR="${pkgdir}" install
+
+# See FS#44277
+  chown :nobody "${pkgdir}"/usr/lib/kf5/kdesud
+  chmod g+s "${pkgdir}"/usr/lib/kf5/kdesud
 }