Get the App
SLTechnology News&Howtos  ›  Servers  › 

The CS1:Server 2003 file path is so long that the last folder permissions cannot inherit the upper folder permissions.

Shulou Source: shulou.com Published: 2022-06-02 10:16:11 10月03日 Update

Summary of customer questions:

A file on the Win 2003 server where the customer accesses some local directories prompts that access is denied.

Customers have found that they are trying to change the related file owner to the currently logged in user or a member of the local administrators user group, and then add the local administrators group to access this file without security control privileges.

The customer requires that the above changes should be made to all files or directories in the problematic directory in a command line way, so that the files can be accessed normally.

Solution:

You can use the subinacl command line tool to do so.

1. Download the subinacl tool.

two。 Use subinacl to make appropriate permission changes.

For example: C:\ errFolder is changed to full access to the local administrator account, and the directory where the subinacl is located is c:\ tempFolder.

The command is as follows:

Subinacl.exe / outputlog=c:\ tempFolder\ logs.txt / errorlog=c:\ tempFolder\ err.log / verbose / subdirectories "c:\ errfolder" / owner= "administrators"

Subinacl.exe / outputlog=c:\ tempFolder\ logs.txt / errorlog=c:\ tempFolder\ err.log / verbose / subdirectories=filesonly "c:\ errfolder*." / owner= "administrators"

Subinacl.exe / outputlog=c:\ tempFolder\ logs.txt / errorlog=c:\ tempFolder\ err.log / verbose / subdirectories "c:\ errfolder" / grant= "administrators" = F

Subinacl.exe / outputlog=c:\ tempFolder\ logs.txt / errorlog=c:\ tempFolder\ err.log / verbose / subdirectories=filesonly "c:\ errfolder*." / grant= "administrators" = F

Tags: Files customers directories commands administrators questions Administration permissions tools users folders Security for this member location method server user group purpose Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker MariaDB macOS Shulou Tech Info Shulou Technology