[arch-commits] Commit in x2goserver/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Sat Feb 14 20:57:50 UTC 2015
Date: Saturday, February 14, 2015 @ 21:57:50
Author: andyrtr
Revision: 231394
upgpkg: x2goserver 4.0.1.18-3
fix some permissions
Modified:
x2goserver/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-14 18:28:14 UTC (rev 231393)
+++ PKGBUILD 2015-02-14 20:57:50 UTC (rev 231394)
@@ -8,7 +8,7 @@
pkgname=x2goserver
pkgver=4.0.1.18
-pkgrel=2
+pkgrel=3
pkgdesc="Open source terminal server"
arch=('i686' 'x86_64')
url="http://www.x2go.org/"
@@ -95,8 +95,8 @@
install -Dm 644 "$srcdir/${pkgname}-${pkgver}/x2goserver.service" "$pkgdir/usr/lib/systemd/system/x2goserver.service"
# X2go homedir + printing spool dir
- install -dm 770 $pkgdir/var/lib/x2go
- install -dm 770 --owner=112 --group=112 $pkgdir/var/spool/x2go
+ install -dm 0770 --owner=111 --group=111 $pkgdir/var/lib/x2go
+ install -dm 0770 --owner=112 --group=112 $pkgdir/var/spool/x2go
# load fuse module at system start
install -dm755 $pkgdir/usr/lib/modules-load.d
@@ -105,15 +105,15 @@
install -dm 755 "${pkgdir}/usr/share/doc/${pkgname}"
install -m 644 "ChangeLog" "${pkgdir}/usr/share/doc/${pkgname}/"
- # fix permission
- chmod 750 ${pkgdir}/etc/sudoers.d
-
- # fix more permissions - see INSTALL file
+ # fix permission - see INSTALL file
chown root:111 ${pkgdir}/usr/lib/x2go/x2gosqlitewrapper
chmod 2755 ${pkgdir}/usr/lib/x2go/x2gosqlitewrapper
chown root:112 ${pkgdir}/usr/bin/x2goprint
chmod 2755 ${pkgdir}/usr/bin/x2goprint
+
+ chmod 750 ${pkgdir}/etc/sudoers.d
+ chmod 0440 ${pkgdir}/etc/sudoers.d/x2goserver
}
More information about the arch-commits
mailing list