Skip to content

Windows: Rename a file to start with . causes an error #707

@jnweiger

Description

@jnweiger

Seen on windows 10, 22H2 with desktop beta 3.0.0.1960

  • Connect client to server, wait for initial sync
  • open the sync folder of e.g. Personal space in explorer
  • add a file there.foo.txt with a few lines of text. The client syncs to the server. OK
  • right-click the file -> rename, remove the first 5 characters, so that .foo.txt remains.
  • an error appears, the rename fails, and the file reverts to the original name. BAD
Image
  • add a new file .foo.txt, add a new folder .foo --> both can be added, but will not sync. A message in the sync log says, hidden file. OK

The rename behavior is inconsistent with the file creation behavior.

Image

Expected behavior:
A rename that causes a file to start with . simply makes it hidden and stops syncing the file.

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