Comment 2 for bug 183948

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 183948] can't PUSH over an sshfs fuse file share

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

codeslinger пишет:
| Public bug reported:
|
| bazaar is a terrific design, but this bug almost caused me to abandon my
| plans to use it, drove me totally raving bonkers :-) trying to isolate
| the problem. The symptom is that ~apparently at random~, it fails to do
| a push.
|
| os = gentoo.
|
| bazaar = 1.0 installed from tarball because gentoo is not up to date
| paramiko = 1.6.3
| sshfs-fuse = 1.6
|
| Because of bug 183705 authentication.conf I decided to use fuse to
| access/create a central store on another server. I use fuse all the
| time for other purposes and have found it to be reliable.
|
| #Establish the connection
| mkdir -p /virt/svr1
| sshfs <email address hidden>:/some/path/ /virt/svr1
|
| password = ~~~~~~
|
|
| #Create a branch with some files in it and commit them, then do
| bzr push --remember --create-prefix /virt/svr1/snafu/bug/atest
|
| Result: bzr: ERROR: [Errno 1] Operation not permitted

sshfs by default don't support rename over existing file.
Someone suggested me that sshfs should be running with the
flag -oworkaround=rename

sshfs -oworkaround=rename

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHkE6ozYr338mxwCURAhsmAJ9ch12BkcfDWY6KMbMd/fYgCUhIsACfZVa3
yzF0RvOLr+hhW7o/D2ttOJY=
=eDLU
-----END PGP SIGNATURE-----