Skip to content

compute server file sync breaks when filename starts with "--" #8635

@williamstein

Description

@williamstein

Report: "Error
calling remote function 'sync': Error: XXX Sync failed 3 in a row. FIX THE PROBLEM, THEN CLEAR THIS ERROR TO RESUME SYNC. -- command ''find' (args=--PREP Interact Quickstart.sagews 2015-06-06-214141.sage 2016-12-30-153612.xsl 2017-09-20-204548.ipynb 2021-01-14-125321.sagews 2021-05-03-132909.ipynb 2023-11-23-231407.ipynb 2024-08-11-144419.term 2024-08-11-163448.term 2024-….html triangle_quad2.sagews utilities.sagews -not -readable -prune -o -not -path scratch -not -path scratch/* -printf %p\0%.10T@ %.10A@ %b %s %M\0\0)' exited with nonzero code 1 -- stderr='find: unknown predicate `--PREP Interact Quickstart.sagews' '"

Note the filename "--PREP Interact Quickstart.sagews". The user deleted that file, and the problem went away.

This will definitely be fixed in cocalc2 (#8453) which takes a different approach to sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions