get the source path and owner in a pre hook and the target path and owner in a
post hook
Fix typo