summaryrefslogtreecommitdiff
path: root/social/monkeysphere/monkeysphere.install
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-11-02 16:00:53 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-11-02 16:00:53 -0300
commitf6252d7e90db77f5715df1c23e19ede1958cb0ef (patch)
treedb8f043431cd7fde8b01fe3876d822f7ba13c39e /social/monkeysphere/monkeysphere.install
parentf42994180fe33b57258eb41c100618e23f35252b (diff)
social/monkeysphere-0.35-2
Diffstat (limited to 'social/monkeysphere/monkeysphere.install')
-rw-r--r--social/monkeysphere/monkeysphere.install7
1 files changed, 5 insertions, 2 deletions
diff --git a/social/monkeysphere/monkeysphere.install b/social/monkeysphere/monkeysphere.install
index cc31e728d..2013f9f41 100644
--- a/social/monkeysphere/monkeysphere.install
+++ b/social/monkeysphere/monkeysphere.install
@@ -12,7 +12,9 @@ post_install() {
echo ">>> Creating monkeysphere user and group and setting permissions..."
getent group monkeysphere >/dev/null || usr/sbin/groupadd monkeysphere
getent passwd monkeysphere >/dev/null || usr/sbin/useradd -c 'Monkeysphere WoT server identification tool' -g monkeysphere -d '/var/lib/monkeysphere' -s /bin/bash monkeysphere
- chown monkeysphere:monkeysphere /var/lib/monkeysphere
+
+# Should be root:root for sshd to work
+ chown root:root /var/lib/monkeysphere
}
# arg 1: the new package version
@@ -24,7 +26,8 @@ pre_upgrade() {
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
- /bin/true
+# Should be root:root for sshd to work
+ chown root:root /var/lib/monkeysphere
}
# arg 1: the old package version