1

I'm new in linux so forgive me if I make obvious mistakes. I'm trying to figure out how to get my laptop synced with my (Synology) NAS.

I have installed FreeFileSync. It works perfect between folders on my laptop and from NAS to laptop.

I have mounted my shared folder with following line in /etc/fstab

//192.168.10.111/Shared /media/shared cifs username=XXX,password=YYY,domain=WORKGROUP,rw,uid=1000,gid=1000 0 0

I've uses several mounting options, as with or without umask=0222,file_mode=0777,dir_mode=0777

If followed the instructions as described here.

I've tried with

  • sudo chown kasper:kasper /media/shared
  • sudo chmod 777
  • sudo chmod -R 777 /media/shared

BUT in all cases I get the following error code in FreeFileSync for the files to be transfered to the NAS:

errorcode 13: Permission denied [chown]

When I do it manually (copy/paste files and folders to mounted folder) everything works fine. It seems that FreeFileSync does not have the correct permissions, but I don't find a way to change it. I hope somebody can help me out. It took me a lot of hours already without any difference.

Thank you in advance.

N0rbert
  • 103,263
Kasper
  • 13

1 Answers1

1

Your mount options are correct.

The problem is between file-system and FreeFileSync.

Go to FreeFileSync, Options and uncheck here two checkmarks - File-safe copy and Copy file access permissions (the last one may be the problem).

N0rbert
  • 103,263