11/05/2009

Unison fails to set permissions

Unison persistently refused to synchronise new files not present on one of the machines claiming:
"Failed to set permissions of file …" (different users, by the way).
The solution (found here) is to disable owner and permission setting in the corresponding ~/.unison/<theproject>.prf file. Add the lines
owner=false
perms=0
and you should be fine.

4 comments:

Marianne said...

Worked like a treat :)
Thank you!!

xabier said...

Solved it for me too,
Thanks a lot!!

Alex Little said...

Great - thanks :-)
I was using it through the Unison GUI and found I needed to restart Unison for the changes to take effect.

Anonymous said...

Thank you very much!