Skip to content

Commit 236d657

Browse files
authored
Fix chown breaking (#3976)
1 parent aca3bb9 commit 236d657

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ RUN chmod +x /usr/local/bin/00-conf-check.sh \
157157
/usr/local/bin/create-admin-user.sh \
158158
/usr/local/bin/entrypoint.sh \
159159
&& mkdir -p /data /config \
160-
&& chown -R www-data:www-data /data /config \
161160
&& chmod -R 775 /data /config
162161

163162
# Expose port 8000 (Octane)

Dockerfile-legacy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ RUN chmod +x /usr/local/bin/00-conf-check.sh \
172172
/usr/local/bin/entrypoint.sh \
173173
&& mkdir -p /run/php \
174174
&& mkdir -p /data /config \
175-
&& chown -R www-data:www-data /data /config \
176175
&& chmod -R 775 /data /config
177176

178177

docker/scripts/05-permissions-check.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ chown -R www-data:www-data /app/bootstrap/cache
1010
chown www-data:www-data /app/storage
1111
chown www-data:www-data /app/public
1212

13+
# echo "who am i"
14+
# id
1315
chown -R www-data:www-data /data /config
14-
chmod -R 775 /data /config
16+
# chmod -R 775 /data /config
1517

1618
echo "⏰ Set Permissions for Lychee folders..."
1719
# Ensure www-data owns necessary directories

0 commit comments

Comments
 (0)