diff options
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst index 0bcc2e289e7..4d0e786ef87 100644 --- a/debian/postinst +++ b/debian/postinst @@ -29,11 +29,11 @@ case "$1" in # create db -- note: this should agree with dbpath in mongodb.conf mkdir -p /var/lib/mongodb - chown mongodb:mongodb /var/lib/mongodb + chown -R mongodb:mongodb /var/lib/mongodb # create logdir -- note: this should agree with logpath in mongodb.conf mkdir -p /var/log/mongodb - chown mongodb:mongodb /var/log/mongodb + chown -R mongodb:mongodb /var/log/mongodb ;; abort-upgrade|abort-remove|abort-deconfigure) |