more markdown fixes
This commit is contained in:
parent
c9a91e0f46
commit
a2b03d4f5a
@ -3,13 +3,9 @@ the set-uid, set-gid and sticky bit are other special permissions.
|
|||||||
|
|
||||||
| setting | description |
|
| setting | description |
|
||||||
| ------ | ----------- |
|
| ------ | ----------- |
|
||||||
| set-uid | setting uid on an executable file allows the file to be executed
|
| set-uid | setting uid on an executable file allows the file to be executed with the original owners permissions.e.g.A script owned by root is executed with root priviledges when run by an ordinar user|
|
||||||
with the original owners permissions.e.g.A script owned by root is executed
|
|set-gid | in files, set-gid files are executed with the group's permissions, while in directories all new files belong to the group by default|
|
||||||
with root priviledges when run by an ordinary user|
|
|sticky bit | In a shared environment, allows deletion only by the owner of the file|
|
||||||
|set-gid | in files, set-gid files are executed with the group's permissions,
|
|
||||||
while in directories all new files belong to the group by default|
|
|
||||||
|sticky bit | In a shared environment, allows deletion only by the owner of the
|
|
||||||
file|
|
|
||||||
|
|
||||||
```
|
```
|
||||||
chmod u+s file # sets uid, use - to unset
|
chmod u+s file # sets uid, use - to unset
|
||||||
|
Loading…
Reference in New Issue
Block a user