Macfusion, SVN and symlinks

10 views
Skip to first unread message

REBELinBLUE

unread,
Jul 9, 2008, 10:19:13 AM7/9/08
to MacFusion-devel
I have been using Macfuse with sshfs to mount a server that has a
checked out SVN working copy on it.

This working copy has symlinks it. When using Macfuse and mounting
with the command

/usr/local/bin/sshfs user@ip:/var/www/svn/bay/ /Volumes/Bay -ocache=no
-onolocalcaches -o IdentityFile=/Users/stephen/.ssh/
id_rsa,reconnect,volname=Bay

this is fine, but when using Macfusion the symlinks show as
obstructions in SVN (i.e. SVN doesn't follow them) but are fine in
Finder

i.e. the when using the above command to mount the shae, the SVN
output is like so

admin stephen$ svn st
A public/404.html

but when using Macfusion to mount the share the SVN output is like so

admin stephen$ svn st
~ app/models
A public/404.html
~ public/.htaccess
~ public/dispatcher.php

Those 3 with ~ are all symlinks to files a few directories back (but
which are still on the mounted share)

Does anyone know how I can resolve this, how I can get Macfusion to
behave the same way as the above command. I have put -ocache=no -
onolocalcaches in the extra options and have "Follow Symbolic Links"
selected.

Thanks


Michael Gorbach

unread,
Jul 9, 2008, 10:35:14 AM7/9/08
to MacFusi...@googlegroups.com
I would compare the mount options used in sshfs when going from
macfusion and when going from the command line directly. You can find
the mount options in either case by typing "ps aux" in the terminal
and finding sshfs there. I'm guessing the difference is follow_symlinks?

~ Michael

REBELinBLUE

unread,
Jul 9, 2008, 10:43:40 AM7/9/08
to MacFusion-devel
Thanks for that

The manual way gives the following 2 commands


/usr/local/bin/sshfs aard...@slug.office:/var/www/svn/bay/ /Volumes/
Bay -ocache=no -onolocalcaches -o IdentityFile=/Users/stephen/.ssh/
id_rsa,reconnect,volname=Bay
ssh -x -a -oClearAllForwardings=yes -oIdentityFile=/Users/stephen/.ssh/
id_rsa -2 aard...@slug.office -s sftp

The macfusion way gives the following 2 commands

ssh -x -a -oClearAllForwardings=yes -oPort=22 -oCheckHostIP=no -
oStrictHostKeyChecking=no -oNumberOfPasswordPrompts=1 -
ologlevel=debug1 -2 aard...@slug.office -s sftp
/Applications/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/
Resources/sshfs-static aard...@slug.office:/var/www/svn/bay/ /Volumes/
Bay -p22 -oCheckHostIP=no -oStrictHostKeyCheckin


The only difference I can really is that it doesn't appear to be
picking up the "extras" but that shouldn't cause this problem as they
are to disable caching (and the manual way works without them)
Reply all
Reply to author
Forward
0 new messages