deajan / osync

A robust two way (bidirectional) file sync script based on rsync with fault tolerance, POSIX ACL support, time control and near realtime sync
http://www.netpower.fr/osync
BSD 3-Clause "New" or "Revised" License
939 stars 102 forks source link

After Sync is run i cannot edit any files that where synced from a SMB share #211

Open OliverFaulkner opened 4 years ago

OliverFaulkner commented 4 years ago

Describe the bug the Sync worked perfectly and synced files with another folder but when i try to access the files from another pc via a smb share im told i do not have the permission to do that even with all the permissions set to rwx To Reproduce Steps to reproduce the behavior:

  1. run an osync with another folder
  2. share the folder via smb
  3. attempt to delete the file
deajan commented 4 years ago

Much more context needed here. Local / remote Sync ? OS ? Filesystems used ? osync version ? osync configuration ? Explain step by step what you're trying to achieve. Explain step by step what doesn't work. For instance, "attempt to delete the file" is very unprecise, especially if you didn't talk of a single file before.

OliverFaulkner commented 4 years ago
  1. target is a google drive that i mounted as a network drive.
  2. the sync is running in a jail on TRUEnas core.
  3. osync version was the last stable version i believe 1.2? 4.the config is just the default config copied from the files with only the target and the initiator changed (what format should the config file be in)?

step by step.

  1. use osync on mounted google drive as target and local folder that is shared to the network as the initiator
  2. once the sync is complete any files synced from the google drive become unaccesable due to a permissions error while inside the initiator but only from another pc on the network via a smb share. when being manipulated via the command line there are no such issues.

otherwise the sync works as intended

deajan commented 4 years ago

....again, what filesystems do you use ?