chmod
CautionChange permissions
chmod 755 <file>
Changes file/directory permissions.
Examples
chmod +x deploy.shMake executable
Syntax
chmod <mode> <file> (e.g. 644/755)
Before you run it
Wrong perms affect security/behavior.
Used when you see
SSH key auth fails
3
See the whole flow →Fix server-side ~/.ssh permissions (700/600)Loose permissions make sshd silently ignore the file.
Related commands
- chownChange owner
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store