Skip to content
Snippets Groups Projects
Commit 0078ab65 authored by Griefed's avatar Griefed :joystick:
Browse files

Permissions Groundhog Day

parent b6d19cc2
No related branches found
No related tags found
No related merge requests found
......@@ -98,8 +98,6 @@ RUN \
/root/.cache \
/tmp/* && \
echo "**** Misc ****" && \
mkdir -p \
/data/plugins && \
echo ${ICECODER_VERSION} > /version.txt
# Copy local files
......
......@@ -6,6 +6,7 @@ if [ ! -f "/config/www/ICEcoder/index.php" ]; then
"https://github.com/icecoder/ICEcoder/archive/${ICECODER_VERSION}.zip"
cd /tmp || exit
unzip -qq install.zip
mkdir -p /data/plugins
mv ICEcoder-*/plugins/* /data/plugins
mv ICEcoder-* /app/ICEcoder
cd / || exit
......
......@@ -28,6 +28,7 @@ echo "[cont-init.d] Setting permissions this may take some time"
chown -R abc:abc \
/data \
/config
/data/plugins
# make our folders
mkdir -p \
/config/{log/ICEcoder,php,sess}
......@@ -51,3 +52,4 @@ ln -sf /data/plugins /app/ICEcoder/plugins
# permissions
chown -R abc:abc \
/config
/data
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment