Module: sems
Branch: master
Commit: 80c5f5ef39dbad4aa9b9409177a70a65c92ebe58
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=80c5f5ef39dbad4aa9b9409177a70a65c92ebe58

Author: Carsten Bock <[email protected]>
Committer: Carsten Bock <[email protected]>
Date:   Sat Mar 22 23:02:37 2014 +0100

b/f: packaging: Set proper rights on homedir at startup

---

 pkg/debian/sems.init |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pkg/debian/sems.init b/pkg/debian/sems.init
index 3dc7904..f6f61dc 100644
--- a/pkg/debian/sems.init
+++ b/pkg/debian/sems.init
@@ -54,6 +54,7 @@ fi
 # /var/run can be a tmpfs
 if [ ! -d $HOMEDIR ]; then
     mkdir -p $HOMEDIR
+    chown $SEMS_USER:$SEMS_GROUP $HOMEDIR
 fi
 
 LD_LIBRARY_PATH=/usr/lib/sems

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to