Most files and directories copy just fine, with the correct permissions and ownership settings.
But there are a couple directories that FFS won't copy - it gives this error:
But if I manually create or even drag and drop the very same directory to the same place on the FreeNAS side, it works fine - with the same ownership. Additionally, FreeNAS will then copy the files within that directory to the destination directory I manually created.Error code 0x51b: This security ID may not be assigned as the owner of this object. [SetFileSecurity]
So, what is different in how FFS creates directories versus a manual or drag-and-drop directory creation in file explorer?
Any help to get this resolved greatly appreciated!