Explain chmod code
Paste chmod commands and Vibe explains what each number or letter code allows: who can read, change or run each file, and what 755, 644 and 777 really mean.
Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.
Vibe14 lines selected
Press Explain it for the sample, or paste your own code first.
What this chmod sample shows
- the three digits
- Each digit is a sum: read 4, write 2, run 1. The first digit is the file's owner, the second its group and the third everyone else. So 7 is 4+2+1, all three; 5 is read and run; 4 is read only; 0 is nothing. After the script,
ls -lshowed-rwxr-xr-xfor deploy.sh (755) and-rw-------for secrets.env (600). - letter modes
- Letters change one thing and leave the rest:
uis the owner,gthe group,oothers andaall three, with+to add and-to take away.chmod u+xturned start.sh from 644 into 744,-rwxr--r--, andchmod go-wturned notes.txt from 666 into 644. - folders
- On a folder, read lets you list the names in it, and run lets you go inside and open what's there. Capital
Xadds run only to folders, and to files that already have it:chmod -R a+rX publicturned a 700 folder into 755 and a 600 page into 644, with no run bit on the page. - running scripts
- A script needs the run bit to start as
./run.sh. At 644,./run.shstopped withPermission denied;sh run.shstill ran it, because thenshis the program being run and only reads the file. Afterchmod u+x run.shit started directly.
Good to know
- Run with chmod from GNU coreutils 9.11 as a normal user, in a test folder, with umask 022: new files came out 644 and new folders 755.
chmod 777gives everyone read, write and run:ls -lshowed-rwxrwxrwx. Any account on the machine can then change the file, so it's rarely the fix it looks like.- 750 is
-rwxr-x---: the owner does everything, the group can read and run, and everyone else gets nothing.
Watch out: chmod -R 644 on a folder locks you out of it, because it takes the run bit off folders too. chmod -R 644 site printed chmod: cannot access 'site/img': Permission denied partway through, and afterwards cd site/img and reading site/img/a.txt were refused. chmod -R u=rwX,go=rX site put it right: 755 for both folders and 644 for the file.
Explain chmod code beside your editor
Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).
Install on Mac
curl -fsSL https://unvibe.site/install.sh | bashPaste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.
Or download the .dmg · Intel Mac build · SHA-256 checksums
Opening the .dmg the first time
- Open the .dmg and drag Unvibe to Applications.
- Open it once; macOS says it can't verify it. Click Done.

Real screen, macOS 15 - System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.

Real screen, macOS 15
The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open