Bash /
ChmodFile permissions is an important part of many usability. You might want your coworkers to be able to read files but not edit them. Maybe they could also run executables which you provide to them? And navigate your directories to make copies, but, again, not directly edit your files. You can set all that using The first thing to do is to check the current permissions, usually with ls?, like this: ls -l * dr-xr-x--- 1 user group 0 Month Day 13:25 Folder1 -r--r--r-- 1 user group 4231 Month Day 13:25 File1 -rwxr-xr-x 1 user group 4231 Month Day 13:25 File2 -rwxrwx--- 1 user group 4231 Month Day 13:25 File3 -rwx------ 1 user group 4231 Month Day 13:25 File4 -rwxr----- 1 user group 4231 Month Day 13:25 File5 The above files show:
In order to change the permission, [@ chmod u-x g+r@ FirstTargetFile SecondTargetFile] where the first series of tokens identify whose permission to change ( |