This is a simpler and quicker way of setting the file permissions. In addition to the file permission, you can also modify the owner and group of the file. The chown program is used here and its syntax is very simple. You need to be the owner of a file or root to do this. To change group, user the chgrp command.
Syntax is similar to chown.
You will need to be the owner of the file and also belong to the same group as the file, or you should be root. That was a quick look at file permissions under Linux. If you ever face a problem under Linux, just take a look at the file permissions. In any case, you just can't avoid running into file permission. This is essential knowledge that no Linux user must do without.