From 21620906dc987fd5a018ff42aca52ca54fc18702 Mon Sep 17 00:00:00 2001 From: theRADcozaDEV Date: Sun, 15 Mar 2026 12:16:34 +0200 Subject: [PATCH] fix: Add public directory to permission fix for storage:link --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index d14c948..e3c9294 100644 --- a/setup.sh +++ b/setup.sh @@ -140,11 +140,11 @@ sleep 3 echo -e "${GREEN}✓ App container ready${NC}" echo "" -# Step 5.5: Fix permissions on storage, bootstrap/cache, and .env +# Step 5.5: Fix permissions on storage, bootstrap/cache, public, and .env echo -e "${YELLOW}→ Setting directory permissions...${NC}" -chmod -R 777 src/storage src/bootstrap/cache 2>/dev/null || true +chmod -R 777 src/storage src/bootstrap/cache src/public 2>/dev/null || true chmod 666 src/.env 2>/dev/null || true -docker compose exec -T app chmod -R 777 storage bootstrap/cache 2>/dev/null || true +docker compose exec -T app chmod -R 777 storage bootstrap/cache public 2>/dev/null || true docker compose exec -T app chmod 666 .env 2>/dev/null || true echo -e "${GREEN}✓ Permissions set${NC}" echo ""