I have a strange problem with working with the Library for some time. I'm running a .net 6 ASP Service with a Rest Interface, to give users the ability to create folders from a template.
The ACLs from the source folder should be copied, so I use the flag "copy:DAS", which need Admin rights. The service runs as a local admin, so it should copy the rights.
But when it runs "robocopy copy:DAS more flags d:\template d:\target", only the subfolders get the ACL's from the template and the main folder stays with inherited properties.
Does the library call Robocopy in a way, it drops it privileges?
I have a strange problem with working with the Library for some time. I'm running a .net 6 ASP Service with a Rest Interface, to give users the ability to create folders from a template.
The ACLs from the source folder should be copied, so I use the flag "copy:DAS", which need Admin rights. The service runs as a local admin, so it should copy the rights.
But when it runs "robocopy copy:DAS more flags d:\template d:\target", only the subfolders get the ACL's from the template and the main folder stays with inherited properties.
Does the library call Robocopy in a way, it drops it privileges?