I have mounted a webdav folder using webdav as described here . For mounting this directory I use the following command:
sudo mount -t davfs -o uid=bruni,gid=users https://serveraddress /home/bruni/mountpoint
However, when trying to sync this folder using freefilesync I get the following error:
Cannot set directory lock for "/path/to/mountpoint".
Cannot write file "/path/to/mountpoint/sync.ffs_lock".
Error Code 13:Permission denied (open)
Please note that this problem is not related to the TLS encryption as it also arises when I do not use https (when I am at office).
Also note that I am able to create files in the mounted directory from the terminal or even nautilus. So my question is, why can't freefilesync and how could I solve the particular problem?
I use Ubuntu 16.04 and Freefilesync 8.2, but I can imagine that this is redundant information.
UPDATE 5/7/2016: Here are the permissions on the top level mount point:
ls -l
drwxr-xr-x 16 bruni users 488 Jun 14 14:19 Infolog
And here on the directory the lock file should be made
ls -l
drwxr-xr-x 16 bruni users 0 May 31 22:07 id54843
id54843 is a directory, deep under Infolog.
Freefilesync is running as bruni
bruni 8448 1.9 0.2 753820 46684 ? Sl 11:24 1:05 /home/bruni/Downloads/Software/Linux/FreeFileSync/FreeFileSync
I wan't to sync 2way.
/path/to/mountpoint
and which user runs FreeFileSync in that context. ? – Cbhihe Jul 05 '16 at 08:04$ <yr FreeFileSync cmd> & ; sleep 1; sudo ps -aux | grep FreeFileSync | grep -v grep
BTW are you trying to "FreeFilesSync" from OR to/home/Bruni/Infolog
or some other directoy deeper in that tree ? – Cbhihe Jul 05 '16 at 09:20