Back to articles
Linux Permissions

Linux Permissions

via Dev.to TutorialFrank Olwenda

What Are Linux Permissions? Permissions are fundamental to linux security, they govern who (or what) can access certain files as well as what they can do with them. File permissions in linux are designed to be simple, however, this simplicity can cause issues when misconfigured or neglected altogether. Which Kind of Linux Permissions do we Have? In Linux we have three basic permissions, they are; read (r): 4 Read Permissions let us access a file's contents i.e. we can view a file that has read permissions write (w): 2 Write permissions allow us to modify the contents of a file as well as carry out other functions such as copying, moving or creating a file in a directory execute (x): 1 Execute permissions let us run a particular file. Some examples would be Note that I've put numbers beside each type of permission, these are the octal values for each permission. Personally I prefer to use the octal system when assigning permissions as i find it to be a bit quicker. How Do we Interpret P

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
2 views

Related Articles