1 Reply
      Latest reply on Sep 22, 2016 12:54 AM by eskimo
      ambreen2006 Level 1 Level 1 (0 points)

        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.

        • Re: Kauth vnode notification for move and copy
          eskimo Apple Staff Apple Staff (13,345 points)

          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"