Owner after copying file

Jan 31, 2015 at 4:52 AM
After using ZetaLongPaths.ZlpIOHelper.CopyFile() the owner of a file is 'administrator' instead of the original file owner.

Is there a way to preserve the original file owner? If not is there a way to set it?

Thanks
Coordinator
Jan 31, 2015 at 12:53 PM
Currently, I am missing the methods of the "original" File class like GetAccessControl and SetAccessControl. See this posting.
Jan 31, 2015 at 4:37 PM
Thanks I will give that a try. It isn't going to work for long paths so I will need to error out in that case. If you ever get the chance to add those methods in with long paths that would be appreciated!