Skip to content

Robocopy Command as Admin for copy:DAS #218

Description

@LordPinhead

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions