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 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 

Free and Open Source Image Editors for linux

 Free and Source Photo Image Editors for linux     Hello everyone, today is Friday 18 December 2020. I want to talking about application to edit Image on an linux, My recommendation is GIMP Gimp is High Quality Photo Manipulation and cross-platform application avaible for Linux, OS X, Windows.  Gimp is free application user can make a change on source code and distribute your changes. Gimp Have a many Feature to empower user do their job, photo editing, adding effect to image, convert image to png, change contrast image, and much more if user want to learn about GIMP user can visit official site GIMP, or user can learn from youtube * References  https://www.gimp.org/ How To Install ( Debian Based Linux ) -------------------------------------------------- sudo apt update sudo apt install snapd sudo snap install gimp if you have any question feel free to ask at : ghost087@protonmail.com <---------- Have a nice day --------->