Manipulating Files
chmod : The chmod command allows you to alter access rights to files and directories. the shell prompt type: ls -alt You should see some files with the following in front of them example: drwxrwsr-x 7 rajesh 1024 Apr 6 14:30 drwxr-s--x 22 rajini 1024 Mar 30 18:20 d-wx-wx-wx 3 Cheguevara1024 Apr 6 14:30 What do the letters mean in front of the files/directories mean? r indicates that it is readable w indicates that it is writable x indicates that it is executable - indicates that no permission to manipulate has been assigned When listing your files, the first character lets you know whether you’re looking at a file or a directory. It’s not part of the security settings. The next three characters indicate Your access restrictions. The next three indicate your group's permissions, and finally other users' permissions. chmod 755 filename The example above will grant you full rights, group rights to execute and read, and all others access to execute the file. 7 permission Fu...