Linux File permissions explainedThis tutorial explains the basics of Linux file permissions.
There are 3 basic permissions in Linux which are r w and x. Which stand for Read Write and Execute.

Each file on a Linux system has permissions set for it which govern access to the file. File permissions are divided into 3 sets which are:

  • User or owner permissions
  • Group permissions
  • world permissions which are the permission for users that are not the owner of the file and are not part of the group.

The command line utility that is used to change file permissions is called chmod which enables you to change a files mode bits (permissions).

Chmod allows you to modify mode bits in many different ways. This tutorial shows you how to modify them using the symbolic notation method.

This tutorial demonstrates how to use chmod to add subtract and set file permissions for a given file in Linux for the owner, group and everyone else.


I hope that this has explained a lot clearer than just reading through a pile of text.  If you would like to read part 2, then just click on the link below.