diff options
author | root <root@rshg054.dnsready.net> | 2011-11-02 23:14:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-02 23:14:55 +0000 |
commit | 6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 (patch) | |
tree | 71f462606f0e719d1e04bd2232763bfe05a68a29 /social/monkeysphere/monkeysphere.install | |
parent | 9343f37ee7ba1aa98f65272412d331a280890e12 (diff) |
Wed Nov 2 23:14:55 UTC 2011
Diffstat (limited to 'social/monkeysphere/monkeysphere.install')
-rw-r--r-- | social/monkeysphere/monkeysphere.install | 7 |
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 |