fix: Add permission fix for .env file in setup.sh
This commit is contained in:
4
setup.sh
4
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 ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user