fix: Add permission fix for .env file in setup.sh

This commit is contained in:
2026-03-15 11:56:17 +02:00
parent 6fe63d70af
commit 14084e172a

View File

@@ -140,10 +140,12 @@ sleep 3
echo -e "${GREEN}✓ App container ready${NC}"
echo ""
# Step 5.5: Fix permissions on storage and bootstrap/cache
# Step 5.5: Fix permissions on storage, bootstrap/cache, and .env
echo -e "${YELLOW}→ Setting directory permissions...${NC}"
chmod -R 777 src/storage src/bootstrap/cache 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 666 .env 2>/dev/null || true
echo -e "${GREEN}✓ Permissions set${NC}"
echo ""