Sync file to phone

Get help for specific problems
Posts: 1
Joined: 26 Nov 2024

tkobyl

Sync files to phone (s9+) fails with:

Cannot write file "/run/user/1000/gvfs/mtp:host=SAMSUNG_SAMSUNG_Android_2b9932590e027ece/Card/films/sync.ffs_lock".
ENOTSUP: Operation not supported [open]

NB:
- Compare works! (after ignoring complain about couldn't write sync.ffs_lock)
- I tried tools options fail safe copy off
- I also tried compare size only
- I also tried sudo freefilesync -> compare doesn't work
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

You can change the LockDirectoriesDuringSync flag from Enabled="true" into Enabled="false".
But make sure to read the risk of doing that.
User avatar
Posts: 4866
Joined: 11 Jun 2019

xCSxXenon

For syncing with a phone, the risk is probably super low. Still look into the risks of course, but it just makes me desire the ability to change that setting per-config rather than globally even more.
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

> For syncing with a phone, the risk is probably super low.

Sure, but all flags in the GlobalSettings.xml file, including the LockDirectoriesDuringSync flag, are (as the name of the file suggests) global settings that apply to all syncs; not just the sync with the phone.
User avatar
Posts: 4866
Joined: 11 Jun 2019

xCSxXenon

... makes me desire the ability to change that setting per-config rather than globally even more. xCSxXenon, 26 Nov 2024, 16:08
Posts: 1202
Joined: 8 May 2006

therube

Well you can use an alternate GlobalSettings.xml.
https://freefilesync.org/manual.php?topic=command-line

You'd have to set it up & use a particular desktop shortcut (or similar) that referenced it...