JAEN

Linux

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

Permission denied
3
Adjust permissions if neededAvoid over-permissive modes
See the whole flow →
SSH key auth fails
3
Fix server-side ~/.ssh permissions (700/600)Loose permissions make sshd silently ignore the file.
See the whole flow →

Related commands

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