1. if the directory does not have the execution permission for the file attribute, you cannot browse it because you cannot execute the ls and dir commands. Example: drwxr -- r -- 2rootroot4096Feb1000: 44. ssh non-root users cannot browse this directory, even if they have the Read (r) permission, because... 1. if the directory does not have the permission to execute file properties, you cannot browse because you cannot execute the ls and dir commands. For example, drwxr -- r -- 2 root 4096 Feb 10. ssh non-root users cannot browse this directory, even if they have the Read (r) permission because they do not have the execution permission. 2. change the file permission chgrp. chown3. inodeinode is the metadata of the data block, that is, the file storage location, file attributes, and permissions. 4. ln link hard link does not create a file, but adds the original inode number to 1, which is equivalent to the file alias. Because the directory itself only has inode information, you cannot create a hard link to the directory. At the same time, because different file systems have different inode, you cannot create hard links to different file systems. If the deleted file has a hard link, the file will still be retained until all references to it are deleted. A soft link/symbolic link creates an independent file that contains the path name of the target file. The path can be any file or directory and can be linked to files of different file systems. (A linked file can be used to link a non-existing file, which is generally called a "broken chain"). a linked file can even link itself cyclically (similar to recursion in programming ). The operating system directs the read and write operations on the file to the target file. However, when a linked file is deleted, the system only deletes the linked file instead of the source file itself. 5. sid, sguid, sticky bita) when the object's permission x is changed to s, when the user in the other group runs the file (generally executable file, this file is executable to the other group users (x) and will have the root permission. B) only the owner and root of the files or directories under the "directory" with the sticky bit (t) attribute can be deleted. For example, in the/tmp Directory, any user can write the file, but only the owner and root can delete the file. Drwxrwxrwt 20 root 4096 tmp c) sid, the mask of sguid and sticky bit are:, 1, respectively. You can add this mask before chmod to set them. For example,> chmod 1755 test> ls-ldrwxr-xr-t 2 hai 4096 2012-03-18 test and chmod 1766 test, t becomes T, meaning it cannot be executed.> Chmod 4755 super> ls-l-rwsr-xr-x 1 hai 0 2012-03-18 super * author jamie. wang
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