Chmod change attributes from a file/folder
- chmod 666 means that all users can read and write but do not execute
- chmod 777 allows all actions for all users
- chmod 744 allows only owner to do all actions, group and other are allowed only to read
- chmod 644
除了你别人都只能读。而对可执行文件你还需要让其它人也能执行啊,于是所有数字均加 1, 变成:chmod 755