Skip to main content

explanation about chmod in linux

 Explanation About Chmod in linux





chmod is the command and system call which is used to change the access permission of file system ( file and directory ).

 

basically chmod is used to give protection for user file system,
we can chose who can access this file system and who doesn't allowed to access file system.

Owner-Group-Other

ls -l
# this command is using to show all file system permission
# if file system is "directory" type
# drwxrwxrwx
# if file system is "file" type
# -rwxrwxrwx 
 
 
* d = Directory
* r = Read
* w = Write
* x = Execute
* -R = Rekursif / to change all file system inside Directory


How To Use chmod
chmod -R 000 <File-System-Name>
# First '0' is for "Owner"
# Second '0' is for "Group"
# Third '0' is for "Other"


Numerical Permissions
1 is for " Execute "

2 is for " Write "

4 is for " Read "

< You can combination Numerical Permissions >
Example:

1 + 2 = 3 ( 3 is for " Execute and Write " )
1 + 4 = 5 ( 5 is for " Execute and Read " )
2 + 4 = 6 ( 6 is for " Write and Read " )

Example How To use chmod
chmod -R 700 <File-System-Name>
# what will we get is: only owner is can " Execute, Write, And Read "


                                                <--End-->

My business Email: ghost087@protonmail.com 

Comments

Popular posts from this blog

Easy | installing osu on an linux using wine application

Easy | installing osu! on an linux using wine application Hello all, Today i want to talking about installing osu on an linux. recently i get bored using linux because osu rhythm game is not compatible with linux, so i think how about using wine application to make osu compatible with linux, and more or less i success.  osu is rhythm game, this game is world wide know as the popular rhythm game, osu have so many player over the world wide, and many player contribute to osu to make osu more and more fun. Inside osu game player can contribute Bitemap, Skin for osu game, etc. before we go,  we need to install wine application: How To Install -------------------------------------------  # Download osu! first  https://osu.ppy.sh/home/download   # open terminal in the same folder you download osu! sudo apt install winetricks  winetricks dotnet45 # install every recommendation application from winetricks wine osu.exe # this time...

Install driver printer canon IP2700 on ubuntu 20.04

 Install driver printer canon IP2700 on ubuntu 20.04    Hello everyone, today is Wednesday 16 December 2020. i want to talking about installing canon IP2700 printer on an ubuntu 20.04. In the ubuntu 18.04 user can run this printer without installing driver first, but in the ubuntu 20.04 user must install driver first. ( maybe ubuntu remove this printer type module from their Operating System  *if  i wrong please tell it to me ) canon IP2700 this printer is quite old, i still have this type printer and still work fine How To Install this printer on Ubuntu 20.04  

install printer canon-pixma-ts300-series on linux

 install printer canon-pixma-ts300-series on linux   Hello everyone, today is Wednesday 16 december 2020. I want to talking about printer canon-pixma-ts300 on an linux and about how to install this printer driver. I have this type printer in my home, this printer support printing from wireless. Basically we can print something using wireless so we don't need to use cable to print something. PIXMA TS300 series is a Wireless Inkjet Printer that allows you to print quickly. How To get Driver