Ravi Sir's Cards › AWS
chmod vs chown
This comparison card contrasts chmod and chown. chmod is described as changes permissions. chown is described as changes owner. The card pairs chmod with lock down a file, and chown with give a file to an app.
Read card text
What this card says
Access
chmod
Changes permissions.
chown
Changes owner.
Key points
Who can read or write.
Who owns the file.
Example
chmod 640 f
Use when
Lock down a file.
Give a file to an app.