Problem syncing symlink file


#1

Hi,

I am having issues with symlinks not syncing using insync in a docker container. The following is output from an ls inside the directory under insync.

drwxr-xr-x 8 docker users 4.0K Jul 24 13:50 ..

-rw-r--r-- 1 docker users 11 Jul 24 13:51 test.txt

lrwxrwxrwx 1 docker users 24 Jul 24 13:53 target.txt -> /tank/storage/target.txt

drwxr-xr-x 2 docker users 4.0K Jul 24 13:53 .

From here i see that test.txt is being synced perfectly well however the symlinked file does not.

the target permissions look ok to me

ls -larth /tank/storage/target.txt 

-rwxrwxrwx 1 docker users 13 Jul 24 13:52 /tank/storage/target.txt

I cannot see anything wrong with the permissions of the target file.

Is there anything that can be suggested?

Thanks


#2

I have resolved this now.
My [dangerous] knowledge of how symlinks work and in particular on how they work in containers was the issue. The problem I was having is that the symlinked file was outside the docker container. I needed to add the path to the container. In OMV this looks like this.

I keep the path the same so that the path appears the same inside and out side the container


#3

Thanks for this, Jake! If you run into anything else, please let us know.