Can't sync to samba folder - linux

Get help for specific problems
Posts: 2
Joined: 8 Dec 2008

lapoigne

Hello,

when I try to sync a folder to a mounted samba folder I got this error for each file
Impossible d'écrire la date de modification de "/media/server-disk/share/myfile.ods.ffs_tmp".

Code erreur 1 : Opération non permise (futimens)
No problem on other way.
User avatar
Site Admin
Posts: 7058
Joined: 9 Dec 2007

Zenju

What linux distribution are you using? Are you able to copy to the samba folder via command line with "cp --preserve=timestamps"?
Posts: 2
Joined: 8 Dec 2008

lapoigne

It's Archlinux with Diskstation share.
With "cp --preserve=timestamps" I have 'Operation not permited', so the file is copied with new date.
So it's a samba problem, not Freefilesync.
I will dig to find the problem

Find:

I had to mount with the option uid=(uidofcurrentuser),forceuid
By default, it's mounted with the uid of diskstation user

Sorry for the false bug repport.
Posts: 6
Joined: 27 Jan 2017

wolfdogg

Hi All, new here,
Im having samba issues too.
I wanted to add english translation for OP here
Unable to write the change date of
"/media/server-disk/share/myfile.ods.ffs_tmp".
Error code 1: Operation not allowed
Ahh i see your solution now, didnt see it earlier, Ill check how i have it mounted, mine is a zfs array though, and im pretty sure my issue, although very related, is just permission errors on the samba definition. Thanks for adding your solution though. :-)