Hi all,

Over the weekend I played around with syncing my Fluid apps between
two Macs. Long post, but hopefully it is interesting to somebody.

What I set out to do was the following:

1. Make all <Site>.app Fluid apps available on each machine

2. Keep settings, e.g., Application Support/Fluid/* in sync between
machines

Here's what I did and what happened:

1. Installed Fluid 1.0 (paid version) on Mac #1
2. Created various apps with custom icons, userscripts, etc. and
verify that they all worked (they did)
3. Move Fluid apps, in "Web Apps" folder from local drive to ~/Dropbox/
Private/Web Apps
4. Verified that Fluid apps launched from Dropbox worked on Mac #1.
5. Move ~/Library/Application Support/Fluid to ~/Dropbox/Private/Sync
Data/Application Support/Fluid
6. Link (symlink, ln -s. . .) Dropbox Application Settings back to ~/
Library/Application Support/Fluid
7. Verified that Fluid apps launched from Dropbox worked on Mac #1

Everything is golden up to this point.

8. Install Fluid on Mac #2
9. Delete /Application Support/Fluid on Mac #2 and replace with
symlink to files on Dropbox, as with Mac #1
10. Launch Fluid apps from Dropbox on Mac #2

Brief flash after double click, fails silently. Permissions on
the .app seem fine. No unusually strange extended attributes (xattr).
Same apps still launch and work just fine on Mac #1. Odd.

11. Manually copy apps from Dropbox to local disk and try to launch.

They failed in the same way as in 10.

11. I rolled everything back at this point, i.e., put Application
Settings back on the local disk, put Fluid .apps back on local disk,
etc and verified that everything worked.

At this point I messed about on Mac #2 creating some new Fluid apps
locally so I could compare them to the ones I had tried to launch from
Dropbox.

What I found is that for each app I put on Dropbox, the permissions of
<Site>.app/Contents/MacOs/FluidApp are 755 when I view them from Mac
#1 (the machine from which they were originally copied to Dropbox) but
they are 644 in the Dropbox local cache in ~/Dropbox on Mac #2.
Interesting.

If I change the permissions on .../Contents/MacOs/FluidApp for each
site, they work.

I have not tried to create a new site in Dropbox, as opposed to
locally and then copying, or reversing and creating on Mac #2 and then
moving to Dropbox and trying to execute from Mac #1.

Any thoughts on whether this is specific to my machines or something
in the nature of how Finder and Dropbox interact with regards to file
permissions?

I'll probably mess around a bit more by creating sandbox to just put a
single app on Dropbox and link just its Application Settings to see
how that bit works. I'm curious to see what happens with the
Application Settings synchronized when the app is open on both
machines, modified, etc.

-A

-- 
You received this message because you are subscribed to the Google Groups 
"fluidapp" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fluidapp?hl=en.

Reply via email to