From 14084e172ab0d5994b5b986193313814d9cdd049 Mon Sep 17 00:00:00 2001 From: theRADcozaDEV Date: Sun, 15 Mar 2026 11:56:17 +0200 Subject: [PATCH] fix: Add permission fix for .env file in setup.sh --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 9239193..d14c948 100644 --- a/setup.sh +++ b/setup.sh @@ -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 ""