chmod 755 /exampledirectory/ In many cases, the permissions should also be changed recursively on all files and subdirectories This can be done through chmod by using the R option To change all permissions for files within a directory to read and write for the owner, read for the group, and read for other users, run the following command For example $ chmod 755 R directory_name $ chmod 755 R /home/linuxtechi/data Example 3) Assign permissions using text notation Another way of assigning permissions is by using the text notation In this method, the chmod command takes flags or symbols which represent the owner, group, others or all users ( u, g , and o) in the syntaxThe chmod command when given a number basically treats it as a 4 digit octal number, octal ( base 8) as in the digits 0 to 7 , where the position from left to right are special ;
Chmod 755 Command What Does It Do By Claudio Sabato Medium
Chmod 755 example