Posts

Showing posts from January, 2015

How to change the permission of a file in Linux?

Image
In the last post we discussed about the basic file permission. Now lets see how to change the permission of a file or a directory in Linux. To change the access rights we use the chmod command.

Linux File Permissions - Basics

Image
In a multi-user operating system, there will be more than one user account probably handled by different users. What would happen if all the user accounts have permission to access each and every file or command in an operating system? There is a chance for a complete disaster. To avoid such a scenario filesystem has a method to assign access permission to specific system users and groups. The ability of a user to  view, modify and run a particular file or a directory depends upon this access right.