Linux File license value-general Linux technology-Linux programming and kernel information. The following is a detailed description. SET-GID and SET-UID are to make the app executor have the same group and user ID as the app owner, such as ping the app, whose owner is root because ping uses the reserved port, common users are not allowed. For everyone to use ping, set the ping set-uid bit so that the ping user can have the root permission in the ping application.
UMASK is the file mode mask when the file is created.
The sticky bit only works on the directory and is mainly used in/tmp to prevent mutual interference between different users. See:
If a directory is writable and has S_ISVTX (the sticky bit)
Set, files within that directory can be removed or renamed
Only if one or more of the following is true (see unlink (2)
And rename (2 )):
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.