Change File/Folder permission in Linux/kali linux Operating System in Easy way

For those who are new to Linux or the Linux operating system, it is important to know about file or folder permissions. Because if you don’t know about the file folder, you can’t properly run any program. Our effort is to inform students about the file folder permissions in a very short time.

You need to know what permissions are given to any file. Right-click on the file you want to use. Then click on the property. A dialog box will appear. See the permission on the dialog box. Then click on it. see photo below.

In above photo, ‘meera’ is name of file. Right click on ”meera” then click on properties. you will see like Dialog box given below.

You will see three menu Basic, Permission and Open with. Click on Permission, then see below photo.

This file has three options for Owner, Group and Others. It depends on you what kind of permission you give to someone. Each major file or folder has a read, write, and executable option. It depends on who you choose.

Given below some Command. chmod means change mode.

  1. read mode specifies reading file or directory.
  2. write mode specifies writing and changing file or directory.
  3. execute mode specifies executing file.

To change directory permissions in Linux, use the following:

  1. chmod +rwx filename to add permissions.
  2. chmod -rwx directoryname to remove permissions.
  3. chmod +x filename to allow executable permissions.
  4. chmod -wx filename to take out write and executable permissions.

Now let’s find out how to change the file permissions mode in Meera‘s name. First you need to open a Linux terminal.

meera is inside the book folder on the desktop. So with the help of the CD command, first go to the folder.

chmod 777” means making the file readable, writable and executable by everyone. It is dangerous because anyone can modify or alter the content.

Setting 777 permissions to a file or directory means that it will be readable, writable and executable by all users and may pose a huge security risk.

In this above process, you can change your file/folder permission. If you don’t understand it. See compleet video about it, given below.

Share the Post Others .....

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: