In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In the last article, someone proposed to execute script commands locally to modify remote server shared folder permissions.
In order to perform the above, several conditions need to be met
1. The local computer can access the folder to be modified by the remote shared server.
2. Have the highest permission of the modified folder, that is, (F) ownership, and the minimum permission to modify (M).
3. The folder to be modified and the local computer must be in the same domain control
All of the above conditions are indispensable.
Detailed steps of the operation:
The local computer remotely accesses the shared folder to be modified
Right-click the folder to modify permissions and select the mapping network drive by default, so that you can see a Y: drive letter in your computer.
Let's take a look at the permissions of the following folder.
Fourth, modify the permission of the folder through a simple command, and give the user T1 the right to modify
Icacls y:\ / grant [: r] T1: (OI) (CI) (M) / T
Fifth, through the above command, we can see that the modification is successful. Then we switch to the local
We can see that the modification rights of T1 users have been authorized successfully.
Later, you can write the script requirements you need according to the first two chapters.
VI. Tips for bloggers
When you are doing shared folders, the first-level directory had better only do read-only access, and the second-level directory begins to control the distinction between read and write.
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.