Commit ea7690f
fix(composer): use chmod 755 instead of chmod +x for read permission
Fixes installation verification failure due to missing read permission.
Problem:
- sudo chmod +x sets permissions to rwx--x--x (owner: rwx, others: --x)
- PHP cannot read the phar file without read permission
- Results in "Could not open input file" error
- Installation succeeds but verification fails
Solution:
- Changed chmod +x to chmod 755
- Sets permissions to rwxr-xr-x (owner: rwx, group: r-x, others: r-x)
- PHP can now read and execute the phar file
- Verification succeeds: "Composer version 2.8.12" ✓
Note: If you already have a broken installation at /usr/local/bin/composer,
fix with: sudo chmod 755 /usr/local/bin/composer
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 080e296 commit ea7690f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments