The permission to see a directory today is RWXRWXRWT is surprised what this t is, how is it not X or-? Search for the following discovery:
This t represents the so-called sticky bit.
Sticky bit: This bit can be understood as an
Special permissionsIn the system, there are some more special users or file directories, but the normal permissions can not solve our needs, so there is special authority to help us solve the problemSpecial privileges are three: SUID, SGID,
What ls-al/tmp see today is RWXRWXRWT is surprised what this t is, how is it not X or-? Search for the following discovery:
This t represents the so-called sticky bit.
Sticky bit: This bit can be understood as an anti-delete bit.
Today's maintenance of the system found a very strange problem: AAA users and BBB users belong to the same AAA group, but with AAA user-created files, permissions set to 777, or can not be deleted with BBB users. Weird!After several turnover, found
Linux Special permissions: SetUid, setGid, sticky bit (sticky) (1) x permission (execution) of the directory The executable permission of a file is simple, that is, can execute its meaning, but what does the directory Execute permission mean?of
In Linux, if you have write access to a directory, then we can create a delete file in this directory.Now we're going to create a directory where we can create files, but other users can't delete the file.A special permission is used here: sticky
Everyone has his own dream, I want to write it out.Special permissions on the Linux file systemSUID, SGID, Sticky ( Sticky position )1 file Basic PermissionsR Read , W Write , x ExecutionUser, group, other2 Security ContextPremises: The process has
Original link http://blogold.chinaunix.net/u2/76620/showart_1134205.html
Each file has an owner, indicating who created the file. At the same time, the file also has a group number, indicating the group to which the file belongs, generally the
Typically, users can delete any file in the directory, regardless of the permissions of the file, as long as they have w write access to a directory.For example, let's do the following:
#创建 the/test directory and give 777 permissions.
Source: http://blog.chinaunix.net/uid-26642180-id-3378119.html
Detailed description of three permissions of set UID, GID, and sticky bit
Each file has an owner, indicating who created the file. At the same time, the file also has a group
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.