User Tools

Site Tools


linux_permissions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_permissions [2016/07/25 19:17] walkeradminlinux_permissions [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Linux Permissions ======+====== Linux Permissions Introduction ======
 are you making this up? are you making this up?
 \\  \\ 
Line 24: Line 24:
 Then we have three sets of three characters, and these are the different permissions for: Then we have three sets of three characters, and these are the different permissions for:
 \\  \\ 
-    "-rw" - Owner +    "rw-" - Owner 
-    "-r-" - Group+    "r--" - Group
     "r--" - Other     "r--" - Other
 \\  \\ 
Line 32: Line 32:
     r is for read, w is for write and x is for execute.     r is for read, w is for write and x is for execute.
 \\  \\ 
 +So for our example:
 \\  \\ 
 +    "-rw-r--r-- 1 pi pi 4452 Jul 25 18:01 example.py"
          
 +    "-" means its a file
 +    "rw-" Owner has read + write permissions
 +    "r--" Group has read only
 +    "r--" Other has read only.
 +\\ 
 +Who is the Owner and Group?
 +\\ 
 +    "-rw-r--r-- 1 pi pi 4452 Jul 25 18:01 example.py"
 +    
 +    In this example, pi is the owner and they are a member of the pi group
 +\\ 
 +\\ 
 + 
linux_permissions.1469470641.txt.gz · Last modified: 2023/03/09 22:35 (external edit)