summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-12-05 20:35:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-12-05 20:35:12 (GMT)
commit0a37d3f3f9c8e979d8f531f61420ccb7d2981e41 (patch)
tree7889ed8e7a733aae900e3b2c3f6ffbc87382d5d2
parentb4cbf8341a0142ae3accedf7d1d4d9ae6b0e4060 (diff)
downloadlinhes_pkgbuild-0a37d3f3f9c8e979d8f531f61420ccb7d2981e41.zip
linhes_pkgbuild-0a37d3f3f9c8e979d8f531f61420ccb7d2981e41.tar.gz
linhes_pkgbuild-0a37d3f3f9c8e979d8f531f61420ccb7d2981e41.tar.bz2
xymon: add acl to allow nobody to read /home/mythtv/.mythtv/config.xml
-rwxr-xr-xabs/core/xymon/PKGBUILD2
-rw-r--r--abs/core/xymon/xymon-client.install3
-rw-r--r--abs/core/xymon/xymon-server.install4
3 files changed, 6 insertions, 3 deletions
diff --git a/abs/core/xymon/PKGBUILD b/abs/core/xymon/PKGBUILD
index 12649cb..759241b 100755
--- a/abs/core/xymon/PKGBUILD
+++ b/abs/core/xymon/PKGBUILD
@@ -1,7 +1,7 @@
pkgbase=xymon
pkgname=('xymonserver' 'xymonclient')
pkgver=4.3.28
-pkgrel=4
+pkgrel=5
pkgdesc="Xymon is a system for monitoring of hosts and networks"
license=('GPL')
arch=('i686' 'x86_64')
diff --git a/abs/core/xymon/xymon-client.install b/abs/core/xymon/xymon-client.install
index 80210f1..312be91 100644
--- a/abs/core/xymon/xymon-client.install
+++ b/abs/core/xymon/xymon-client.install
@@ -2,7 +2,8 @@ post_install() {
. /etc/systemconfig
sed -i -e "s/127.0.0.1/$dbhost/" /home/xymon/client/etc/xymonclient.cfg
chown -R nobody /home/xymon
-
+ #added so py bindings work with /home/mythtv/.mythtv/config.xml
+ setfacl -m "u:nobody:--x" /home/mythtv/
}
post_upgrade() {
diff --git a/abs/core/xymon/xymon-server.install b/abs/core/xymon/xymon-server.install
index 0eec8f1..7c08bd3 100644
--- a/abs/core/xymon/xymon-server.install
+++ b/abs/core/xymon/xymon-server.install
@@ -20,7 +20,9 @@ post_install() {
#fix permissions
chown -R nobody:nobody /home/xymon
chown -R nobody:nobody /data/srv/httpd/htdocs/xymon
-
+ #added so py bindings work with /home/mythtv/.mythtv/config.xml
+ setfacl -m "u:nobody:--x" /home/mythtv/
+
chown -R nobody:http /data/srv/httpd/htdocs/xymon/snap
chown -R nobody:http /data/srv/httpd/htdocs/xymon/rep
chmod -R 775 /data/srv/httpd/htdocs/xymon/rep