Merge pull request #2693 from dokku/josegonzalez-patch-1
fix: explicitly chown data and data/storage directories
This commit is contained in:
2
debian/postinst
vendored
2
debian/postinst
vendored
@@ -35,7 +35,7 @@ case "$1" in
|
|||||||
|
|
||||||
echo "Setting up storage directories"
|
echo "Setting up storage directories"
|
||||||
mkdir -p ${DOKKU_LIB_ROOT}/data ${DOKKU_LIB_ROOT}/data/storage
|
mkdir -p ${DOKKU_LIB_ROOT}/data ${DOKKU_LIB_ROOT}/data/storage
|
||||||
chown dokku:dokku -R ${DOKKU_LIB_ROOT}/data
|
chown dokku:dokku ${DOKKU_LIB_ROOT}/data ${DOKKU_LIB_ROOT}/data/storage
|
||||||
|
|
||||||
echo "Setting up plugin directories"
|
echo "Setting up plugin directories"
|
||||||
# should be replaced by `plugn init`
|
# should be replaced by `plugn init`
|
||||||
|
|||||||
Reference in New Issue
Block a user