Chmod chmod Change file mode bits Add user execute permission chmod u+x <filepath> Add user write and world readable permissions chmod 644 <filepath> same as chmod a=r,u+w foo Add user rw permissions recursive chmod -R u+rw <dirpath>