Chmod example 558785-Chmod example 777
Also, as Anthon points out, the find command given in the other answer executes the chmod program once for each worldwritable file it finds It is slightly more efficient to say find toplevel_directory perm 2 type f exec chmod ow {} This executes chmod with many files at once, minimizing the number of execs PS Examples Using chmod # Below are examples of making changes to permissions chmod ux myfile Gives the user execute permission on myfile;To set all permission bits on (anyone can read/write/execute) chmod 777 scratch Chown Command In Linux With Examples Geeksforgeeks Chmod example 777