Kauth vnode notification for move and copy

With the kauth vnode notification, can I get the destination of the file being copied? I want to deny a copy if it's from a specific directory and let the app do the copy or move to the destination that the user originally intended.

Replies

Kauth does not provide this level of information. Moving a file involves two separate authentication operations (removing it from one directory and adding it to another) and there’s no reasonable way to link them together.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"