Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My machine is linux ext4. I have an external hard drive with FAT. I can syn most of the files without any problem. However, there is always a few files having permission problems.

I tried to use unison -fat to specify the sync policy. However, unison does not seem to take my command. Here is what I tried:

My profile.pcf specify the path: (from home to media)

root = /home/rex/rex
root = /media/portable/rex

Then I type this:

unison work -fat perm=0

In both of the commands, unison treats work as a directory rather than a profile. Please give some hints.

Thank you!

share|improve this question

migrated from Mar 30 '13 at 19:29

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

To be able to use a profile work you must create a file ~/.unison/work.prf. According to the documentation you just have to add a line fat = true to the profile in order to make synchronization with FAT file systems work.

share|improve this answer
Yes. The profile is there. Command "unison work" works fine. But I dont know how to add -fat policy. – rex Mar 30 '13 at 14:45
If I read the documentation correctly, all you need to do is add a line fat = true to the profile. – Ansgar Wiechers Mar 30 '13 at 19:57
Yes. This solves the problem. Could you please add this line to the answer? – dannycrane Mar 31 '13 at 18:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .