Spaces:
Sleeping
Sleeping
| # Manual Commands for Targeted Permission Fix | |
| # Copy and paste these commands to fix ONLY the specific directories | |
| # 1. Check current permissions | |
| echo "Current permissions:" | |
| ls -ld .cache/Generated .cache/static .cache/view_session 2>/dev/null | |
| # 2. Fix permissions for the three directories only | |
| chmod 755 .cache/Generated 2>/dev/null | |
| chmod 755 .cache/static 2>/dev/null | |
| chmod 755 .cache/view_session 2>/dev/null | |
| # 3. Fix permissions for contents inside these directories | |
| find .cache/Generated -type d -exec chmod 755 {} \; 2>/dev/null | |
| find .cache/Generated -type f -exec chmod 644 {} \; 2>/dev/null | |
| find .cache/static -type d -exec chmod 755 {} \; 2>/dev/null | |
| find .cache/static -type f -exec chmod 644 {} \; 2>/dev/null | |
| find .cache/view_session -type d -exec chmod 755 {} \; 2>/dev/null | |
| find .cache/view_session -type f -exec chmod 644 {} \; 2>/dev/null | |
| # 4. Verify the changes | |
| echo "Updated permissions:" | |
| ls -ld .cache/Generated .cache/static .cache/view_session 2>/dev/null | |
| echo "β Permission fix complete for specific directories only" |