Ravi Sir's Cards › AWS
chmod 755 vs chmod u+x
This comparison card contrasts chmod 755 and chmod u+x. chmod 755 is described as sets all bits at once. chmod u+x is described as changes only named bits. The card pairs chmod 755 with known target mode, and chmod u+x with small tweaks.
Read card text
What this card says
Style
chmod 755
Sets all bits at once.
chmod u+x
Changes only named bits.
Key points
Exact final mode.
Keeps other bits.
Example
chmod 640 db.conf
Use when
Known target mode.
Small tweaks.