In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The file system rights management of the UNIX/linux system is a little vague, so let's review:
File system directory permissions:
Second, the user's understanding of UMASK:
When you first log in to the system, the u m a s k command determines the default mode in which you create files. This command is actually the opposite of the c h m o d command. Your system administrator must set a reasonable u m a s k value for you to ensure that the files you create have the default permissions you want and prevent other different groups of users from having write access to your files. After you have logged in, you can use the u m a s k command to change the default permissions for file creation according to your personal preference. The corresponding changes are in effect until you exit the s h e l l or use another u m a s k command. Generally speaking, the u m a s k command is set in the / e t c / p r o f i l e file, which is referenced by each user when logging in, so if you want to change the u m a s k of all users, you can add the appropriate entry to this file. If you want to set your u m a s k value permanently, put it in your $H O M E directory. P r o f i l e or. In b a s h p r o f i l e file.
The default permissions for file and directory creation corresponding to the u m a s k value 002 are 6 6 4 and 7 7 5, respectively. There is another way to calculate the u m a s k value. We just have to remember that u m a s k "takes" the corresponding bits from the permissions.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.