diff --git a/files_directories/chmod.md b/files_directories/chmod.md index 46e0b6b..f6c4f4a 100644 --- a/files_directories/chmod.md +++ b/files_directories/chmod.md @@ -3,13 +3,9 @@ the set-uid, set-gid and sticky bit are other special permissions. | setting | description | | ------ | ----------- | -| 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 ordinary user| -|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| +| 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| +|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