fsmonitor.py with Samba share
2013-06-17 22:11:12 GMT
Hello,
I have a mounted Samba share (permissions are set to 775) that I would like to sync with a local directory on an
Apple server running OS X 10.8.4. I have Unison 2.46.18 and fsmonitor.py, obtained from SVN this morning.
Syncing manually or with a cron job is working as intended but I would like to use the directory watching
functionality through fsmonitor.py. When I run with "-repeat watch", fsmonitor.py catches changes to
the local directory and Unison syncs correctly. Additionally, if I create/modify/delete a file on the
Samba share through Terminal, the change is caught and Unison syncs correctly. However, if I
create/modify/delete a file on the Samba share from OS X Finder/Windows Explorer/any other program (for
instance, Microsoft Word, Notepad, TextEdit) fsmonitor.py does not seem to see the change. So, for
instance, if I save a file to the Samba share from Windows Notepad or OSX TextEdit, fsmonitor.py does not
catch the change and a Unison sync is not initiated. However, if I then touch the file th
rough Terminal, all of a sudden fsmonitor.py sees it and a sync is initiated.
I have little experience with Unison, or with Samba for that matter, so perhaps there is some obvious reason
why this doesn't work that I'm missing. Anyone have any ideas?
Thanks.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/unison-users/
<*> Your email settings:
Individual Email | Traditional
(Continue reading)
RSS Feed