What are file access permissions? How do I change them?
File permissions allow read, write, and execute access to users based on their user identification (also known as uid), and their membership to certain groups. You can use the command: chmod to change a file’s permissions. Here is an example: % ls -ls form.cgi 1 -rwx—— 1 shishir 974 Oct 31 22:15 form.cgi* This has a permission of 0700 (octal), which means that no one (besides the owner) can read to, write from, and execute this file. Let’s use the chmod command to change the permissions: % chmod 755 form.cgi % ls -ls form.cgi 1 -rwxr-xr-x 1 shishir 974 Oct 31 22:15 form.cgi* This changes the permissions so that users in the same group as “shishir”, as well as all other users have the permission to read from, and execute this file. See the manpages for the chmod command for a full explanation of the various octal codes.