Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2133

[macOS] Skip errors on file creation time modification

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.4.4
    • Component/s: Local client
    • Environment:
      macOS Mojave+

      Description

      Error

      Sentry Issue: NUXEO-DRIVE-2F7

      CalledProcessError: Command '['touch', '-mt', '202002231834.25', '/Users/USER/Nuxeo Drive/FILE.pdf']' died with <Signals.SIGKILL: 9>.
        File "nxdrive/engine/processor.py", line 276, in _execute
        File "nxdrive/engine/processor.py", line 1256, in _synchronize_remotely_created
        File "nxdrive/engine/processor.py", line 1334, in _create_remotely
        File "nxdrive/client/local/base.py", line 544, in change_file_date
        File "nxdrive/client/local/darwin.py", line 31, in change_created_time
        File "subprocess.py", line 347, in check_call
      

      Impacted line is: LocalClient.change_created_time().

      Analysis

      This is related to the new Apple security layer that is asking for permissions for everything ...
      Here, either the user did not allow it or did not see the message.

      Fix

      There is not much to do but skip the error, sadly.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m