Module: sip-router
Branch: master
Commit: eb45b8ccb4d859e7726889a4fae50941bd6c8e43
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=eb45b8c…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Sat Oct 20 00:29:07 2012 +0100
pkg/kamailio/fedora/16: Updated .spec to set ownership of /etc/kamailio to
kamailio.kamailio
- Means that file-based DB (e.g. sqlite) files kept in /etc/kamailio can be
written to by processes (including kamailio itself) run by the kamailio user.
---
pkg/kamailio/fedora/16/kamailio.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pkg/kamailio/fedora/16/kamailio.spec b/pkg/kamailio/fedora/16/kamailio.spec
index ca3ab84..c80c989 100644
--- a/pkg/kamailio/fedora/16/kamailio.spec
+++ b/pkg/kamailio/fedora/16/kamailio.spec
@@ -556,7 +556,7 @@ fi
%doc %{_docdir}/kamailio/modules_k/README.usrloc
%doc %{_docdir}/kamailio/modules_k/README.xlog
-%dir %{_sysconfdir}/kamailio
+%dir %attr(-,kamailio,kamailio) %{_sysconfdir}/kamailio
%config(noreplace) %{_sysconfdir}/kamailio/*
%if 0%{?fedora}
%config %{_unitdir}/*
@@ -978,6 +978,8 @@ fi
%changelog
+* Fri Oct 20 2012 Peter Dunkley <peter(a)dunkley.me.uk>
+ - Set ownership of /etc/kamailio to kamailio.kamailio
* Sun Sep 17 2012 Peter Dunkley <peter(a)dunkley.me.uk>
- Added corex module to RPM builds
- Updated rel to dev4