adding_and_removing_linux_permissions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| adding_and_removing_linux_permissions [2016/07/25 18:42] – walkeradmin | adding_and_removing_linux_permissions [2017/01/29 18:00] (current) – walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Adding and Removing Linux Permissions ====== | ====== Adding and Removing Linux Permissions ====== | ||
| + | <color darkorange> | ||
| + | |||
| + | ---- | ||
| + | |||
| \\ | \\ | ||
| + | **Granting Permissions** | ||
| \\ | \\ | ||
| Grant the execute permission to the group. | Grant the execute permission to the group. | ||
| Line 25: | Line 30: | ||
| The Other rights have changed from --------r-- to -------rwx | The Other rights have changed from --------r-- to -------rwx | ||
| + | \\ | ||
| + | \\ | ||
| + | **Removing permissions** | ||
| + | \\ | ||
| + | This is the exact opposite, instead of using a + (plus) we use a - (minus) | ||
| + | \\ | ||
| + | ls -l example.py | ||
| + | -rw-r--rwx 1 pi pi 4452 Jul 25 18:01 example.py | ||
| + | chmod o-wx example.py --- o is for owner, w is for write, x is for execute | ||
| + | ls -l example.py | ||
| + | | ||
| + | -rw-r--r-- 1 pi pi 4452 Jul 25 18:01 example.py | ||
| + | |||
| + | The Other rights have changed from --------rwx to -------r-- | ||
| + | \\ | ||
| \\ | \\ | ||
adding_and_removing_linux_permissions.1469472163.txt.gz · Last modified: (external edit)
