summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/xymon.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xymon/xymon.install')
-rwxr-xr-x[-rw-r--r--]abs/core/xymon/xymon.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/core/xymon/xymon.install b/abs/core/xymon/xymon.install
index 3c9680b..90af45b 100644..100755
--- a/abs/core/xymon/xymon.install
+++ b/abs/core/xymon/xymon.install
@@ -17,9 +17,18 @@ post_install() {
sed -i -e "s/localhost/$hostname/" /home/xymon/server/etc/hosts.cfg
sed -i -e "s/\# bbd/\# bbd func/" /home/xymon/server/etc/hosts.cfg
sed -i -e "s/localhost/$hostname/" /home/xymon/server/etc/xymonserver.cfg
+ #fix permissions
chown -R nobody /home/xymon
chown -R nobody /data/srv/httpd/htdocs/xymon
+
+
+ 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
+ chmod -R 775 /data/srv/httpd/htdocs/xymon/snap
+
chown -R nobody /var/log/hobbit
+
chown root /home/xymon/server/bin/xymonping
chmod +s /home/xymon/server/bin/xymonping