Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Mar 30 '13 at 19:29

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

add comment

1 Answer

up vote 1 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.