3

If I modify a local file, unison syncs that file but it removes all permissions on the destination server, leaving only the following permissions:

-rw-------

My local config contains the switches which should tell unison to ignore file permissions:

~/.unison/my-server.prf

perms = 0
dontchmod = true

I start unison with the following command:

unison -ui text -repeat watch my-server

My local unison is version 2.48.4, remote is 2.48.3

Jordan
  • 141

1 Answers1

1

Somehow, this issue went away. I'm not sure which of the following fixed it, but here's what I did:

  • Deleted my local replica and the archive files under ~/.unison
  • Uninstalled then reinstalled unison locally (the same version, 2.48.4)
  • Added force = ssh://username@my-remote-server//home to the config to mirror the remote server
  • Once it had synced, I removed the force config option and started as usual

Now, for whatever reason and despite the version mismatch, the permissions are working fine.

Jordan
  • 141