diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-06-22 23:25:42 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-06-25 02:42:47 +0200 |
commit | 99b45de81c26ee1bece7393dd82ea83481e48f0d (patch) | |
tree | 8702719ec1f4d07c8d30eb7c0ba5398f19bda3a8 /community/nextcloud/nextcloud-initscript.post-install | |
parent | 8ba26cee862e71ac7cc67f8e6150720a6e0640ae (diff) | |
download | aports-99b45de81c26ee1bece7393dd82ea83481e48f0d.tar.bz2 aports-99b45de81c26ee1bece7393dd82ea83481e48f0d.tar.xz |
community/nextcloud: create user/group for base pkg
It somehow doesn't work when user/group is created by pre-install
script of subpackage - installed files have wrong GID.
Diffstat (limited to 'community/nextcloud/nextcloud-initscript.post-install')
-rw-r--r-- | community/nextcloud/nextcloud-initscript.post-install | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/community/nextcloud/nextcloud-initscript.post-install b/community/nextcloud/nextcloud-initscript.post-install index 6d664a5026..7759e65fa0 100644 --- a/community/nextcloud/nextcloud-initscript.post-install +++ b/community/nextcloud/nextcloud-initscript.post-install @@ -4,15 +4,13 @@ for dir in /etc/nextcloud \ /etc/nextcloud/config.php \ /var/lib/nextcloud/data \ - /usr/share/webapps/nextcloud/apps + /var/lib/nextcloud/apps do chmod g-w $dir - chown nextcloud $dir done chgrp root /etc/nextcloud/config.php # This must be writable (only) by nextcloud user. -chown nextcloud /var/log/nextcloud chmod 750 /var/log/nextcloud cat <<EOF |