fix: explicitly chown data and data/storage directories
Doing a recursive chown will otherwise screw up dockerfile-based app storage when the uid does not map to herokuish or similar.
This commit is contained in:
1 parent
a4b8e59c3f
commit
8677aadad7
1 file changed
+1
-1
Vendored
+1
-1
@@ -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