Linux file permission illustrated.
To understand Linux file permissions, we need to understand Ownership and Permission.
๐๐ฐ๐ง๐๐ซ๐ฌ๐ก๐ข๐ฉ
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: what are some of the commonly used Linux commands to change file permissions?
โ
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/FIzCeaWsZV