Answer the question
In order to leave comments, you need to log in
Using cmd, set full access to the folder, while prohibiting it (the folder itself) from renaming / deleting?
There are admin and user. It is necessary with the help of cmd (I suspect using cacls) to create a folder in which the user will have full access i.e. reading, writing, editing and deleting, BUT he cannot delete / rename this folder - his rights are only inside the folder and do not apply to the folder itself.
How to implement it?
found this information:
(source ab57.ru/cmdlist/cacls.html)
********************************* ****************
The following abbreviations are used to decipher the results obtained when executing the CACLS command:
CI - inheritance by containers.
the access control table (ACE) is inherited by directories.
OI - inheritance by objects.
ACE is inherited by files.
IO is inheritance only.
ACE does not apply to the current file or directory.
ID - inheritance.
The ACE is inherited from the ACL of the parent directory.
Combinations are possible:
(IO)(CI) Permissions apply to this folder, its subfolders and files
(OI)(CI)(IO) Permissions apply only to subfolders and files
(CI)(IO) Permissions apply only to subfolders
( OI)(IO) Permissions apply only to files
*************************************** ****************
This seems to be what you need - ***(OI)(CI)(IO) Permissions apply only to subfolders and files***, but how to implement it I have no idea ..... any attempts turn into an error ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question