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

Easy | How To Remove PPA repository for ubuntu

 Easy | How To Remove PPA repository for ubuntu Hello all, Today is Monday 28 December 2020. I want to talking about Removeing PPA in ubuntu. PPA ( Personal Package Archive ) is a software maping repository location, many repository in PPA is provided by ubuntu and linux community. after user add PPA repository location, user can download software inside that repository. ubuntu user need to know how to remove PPA repository, Because if PPA get very old, or PPA didn't get update, or PPA repository is not compatible with ubuntu new version, PPA software manager will show a error. But don't worry removing PPA is easy How To Remove PPA in a ubuntu ------------------------------------- # open Terminal sudo add-apt-repository --remove ppa:ppalocation/ppa # for example sudo add-apt-repository --remove https://batumz.herokuapp.com/playmakermz/ focal main' If you have any question feel free to ask at: ghost087@protonmail.com -Have a nice day

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