Create versioning directory recursively (creating parents as necessary) #6565
Labels
enhancement
New features or improvements of some kind, as opposed to a problem (bug)
frozen-due-to-age
Issues closed and untouched for a long time, together with being locked for discussion
good first issue
Good starting points for new contributors
Milestone
This is the scene:
I set a sync folder which enabled File Versioning and set the versions path to
/sdcard/Syncthing control/Desktop/Markdown
, but I didn't create this path manually, and when syncing, there would be conflict, when I check the logs, it says:It seems the Syncthing tries to create the versioning folder. Because it's parent folder is not created manually, and it just used "mkdir" but not "mkdir -p", it can't create the parent folder of the versioning.
So I suggest the solution is to use
mkdir -p
to replace themkdir
in unix like system when creating versioning folder.The text was updated successfully, but these errors were encountered: