mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
Fix for file's octal permissions
This commit is contained in:
parent
52e0424dd4
commit
48c6916fdc
1 changed files with 2 additions and 2 deletions
|
|
@ -886,7 +886,7 @@ This adds execute permission (`+x`) for the user (`u`).
|
||||||
**Octal mode**
|
**Octal mode**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
% chmod 755 script.sh
|
% chmod 750 script.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Here, numbers represent permissions:
|
Here, numbers represent permissions:
|
||||||
|
|
@ -895,7 +895,7 @@ Here, numbers represent permissions:
|
||||||
- 5 = r-x
|
- 5 = r-x
|
||||||
- 0 = ---
|
- 0 = ---
|
||||||
|
|
||||||
So `755` means: owner = rwx, group = r-x, others = r-x.
|
So `750` means: owner = rwx, group = r-x, others = ---.
|
||||||
|
|
||||||
### Changing Ownership
|
### Changing Ownership
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue