ByteByteGo

Linux file permission illustrated.

𝐎𝐰𝐧𝐞𝐫𝐬𝐡𝐢𝐩
Every file or directory is assigned 3 types of owner:

🔹Owner: the owner is the user who created the file or directory.
🔹Group: a group can have multiple users. All users in the group have the same permissions to access the file or directory.
🔹Other: other means those users who are not owners or members of the group.

𝐏𝐞𝐫𝐦𝐢𝐬𝐬𝐢𝐨𝐧
There are only three types of permissions for a file or directory.

🔹Read (r): the read permission allows the user to read a file.
🔹Write (w): the write permission allows the user to change the content of the file.
🔹Execute (x): the execute permission allows a file to be executed.

Over to you: chmod 777, good idea?

--
We just launched the all-in-one tech interview prep platform, covering coding, system design, OOD, and machine learning.

Launch sale: 50% off. Check it out: bit.ly/bbg-yt

#systemdesign #coding #interviewtips
.

6 days ago | [YT] | 2,055



@fsmil

It's necessary to know that there can be `d` in the first, and it means "directory."

6 days ago | 12

@ariefwt2220

Thanks finally ia understand the meaning

3 days ago | 0

@praddy8648

You can read about Linux and shell scripting here, if you want to get a head start - https://pradyumnachippigiri.substack.com/p/shell-scripting-for-devops-beginners

6 days ago | 3

@deepak-rajak

One Stop Solution for all tech stack😀

6 days ago | 2

@evandickinson-q8o5s

More accurately unix like systems no? As Mac is similar

6 days ago | 1

@flashadking8503

chmod ugo+rwx <file_name> Or chmod a+rwx <file_name>

5 days ago (edited) | 0