Linux File license Value

Source: Internet
Author: User
Tags ping set
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 )):

O the user owns the file

O the user owns the directory

O the file is writable by the user

O the user is a privileged user

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.