Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set file access permissions in batch processing

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article will explain in detail how to set file access permissions for batch processing. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

SetACL.exe 0.904 Chinese help: SetACL.exe download address

Example:

SetACL.exe c:\ nihao / dir / deny everyone / read_ex

Set E:\ wxDesktop folder everyone to read and run permissions

SetACL MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run / registry / deny

Administrator / read

Set registry key value Run to full control permission

SetACL.exe 0.904 Chinese help:

Usage: SetACL.exe

[/ i:] [/ p:] [/ r:]

[/ sid] [/ silent]

Note: the parameters in are required and the parameters in [] are optional.

=

= valid path to any local or remote object

= object type, any of the following parameters:

/ file file

/ dir directory

/ printer printer

/ registry registry

/ service service

/ share sharing

= operation, any of the following parameters

/ deny denies access to the specified user

/ access granted to the specified user by grant

/ set sets the access rights of the specified user

/ revoke revokes the access rights of the specified user

= user

= permission, any of the following parameters

/ file = available parameters for the file object:

/ read read

/ write write

/ read_ex read and run

/ change modification

/ full full control

The following are special permissions:

/ traverse

/ list_dir read data

/ read_attributes read attributes

/ read_ea read extended attributes

/ add_file write data

/ add_subdir

/ write_attributes write attribute

/ write_ea writes extended properties

/ delete_child

/ delete deletion

/ read_dacl to remember permissions

/ write_dacl write permission

/ write_owner takes ownership

/ dir = available parameters for the directory object:

/ read read

/ write write

/ list_folder lists folder directories

/ read_ex read and run

/ change modification

/ full full control

The following are special permissions:

/ traverse

/ list_dir read data

/ read_attributes read attributes

/ read_ea read extended attributes

/ add_file write data

/ add_subdir

/ write_attributes write attribute

/ write_ea writes extended properties

/ delete_child

/ delete deletion

/ read_dacl to remember permissions

/ write_dacl write permission

/ write_owner takes ownership

/ printer = available parameters for the printer object:

/ print printing

/ man_printer Management Printer

/ man_docs management documents

/ full full control

/ registry = available parameters for registry objects:

/ read read

/ full full control

The following are special permissions

/ query_val query value

/ set_val sets the numerical value

/ create_subkey create subkey

/ enum_subkeys enumerates child items

/ notify Notification

/ create_link create link

/ delete deletion

/ write_dacl writes to DAC

/ write_owner writes to the owner

/ read_access read control

/ service = available parameters of the service object

{/ read | / start_stop | / full}

/ share = available parameters of the shared object

/ read read

/ change change

/ full full control

This is the end of this article on "how to set file access permissions for batch processing". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report