Linux Tutorial: Modifying the Usage of the File Permission Command chmod

  
                  

Modify the linux file permission command: chmod

Usage: chmod XXX filename

×××(Owner\\Group User\\Other User)

×=4 Read Permissions

×=2 Permissions

×=1 Execution Permissions

Common Commands to Modify Permissions:

sudo chmod 600 ××× (Only the owner has read and write permissions)

sudo chmod 644 ××× (Owner has read and write permissions, group users only have read access)

sudo chmod 700 × ×× (Only the owner has read and write and execute permissions)

sudo chmod 666 ××× (Everyone has read and write permissions)

sudo chmod 777 ××× (Everyone has read and write and execute permissions)

Copyright © Windows knowledge All Rights Reserved