Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110600 - sshfs-fuse with eclipse-3.1 file saving problem
Summary: sshfs-fuse with eclipse-3.1 file saving problem
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 01:23 UTC by tonich
Modified: 2005-11-13 12:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tonich 2005-10-27 01:23:22 UTC
I have project files on remote computer. If i mount directory with project files
via sshfs and edit files with eclipse-3.1, then i have bug with file saving.
sometimes i see the message from eclipse: "The file has been changed on the file
system. Do you want to reload the changes?". 

Reproducible: Sometimes
Steps to Reproduce:
1. mount remote dir with sshfs user@host:/some/dir /tmp/test
2. open or create file for edit with eclipse-3.1
3. made some changes and save file
4. repeat step 3 



Gentoo Base System version 1.12.0_pre9
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r1, 2.3.4-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms
strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="ru_RU.KOI8-R"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts
cairo cdr crypt cups curl dbus directfb djvu dv dvd dvdr dvi eds emboss encode
esd fam firebird flac foomaticdb fortran freetds gd gdbm ggi gif glitz gpm
gstreamer gtk gtk2 guile haskell imagemagick imlib ipv6 irmc java jpeg jpeg2k
junit ldap libg++ libwww linguas_ru lirc mad mikmod mmx motif mozdevelop mozilla
mozsvg mozxmlterm mp3 mpeg mysql nas ncurses nls odbc ogg oggvorbis opengl oss
pam pascal pdflib perl php png postgres python qmail qt quicktime readline real
ruby samba sdl slang snmp spell sql sqlite sse ssl subversion svga t1lib tcltk
tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev v4l2 vhosts
vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-10-27 09:47:57 UTC
Can you retest with sshfs-fuse?
Comment 2 tonich 2005-10-27 22:55:00 UTC
(In reply to comment #1)
> Can you retest with sshfs-fuse?

Already tested (see summary of this bug) with sshfs-fuse-1.2
net-fs/shfs-0.35-r1 works fine
Comment 3 tonich 2005-10-27 23:01:50 UTC
(In reply to comment #1)
> Can you retest with sshfs-fuse?

I tried mounting with:

1. #sshfs tonich@host:/home/httpd/htdocs/photodb ~/Projects/photodb

2. #sshfs tonich@host:/home/httpd/htdocs/photodb ~/Projects/photodb -C -s -o
sshfs_sync -o cache=no -o direct_io

3. #sshfs tonich@host:/home/httpd/htdocs/photodb ~/Projects/photodb -o
cache_timeout=0
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-11-13 12:27:58 UTC
Can you please report this to the fuse-mailing list?

I do not think that this is a gentoo-specific problem or has anything to do with
the ebuild, and I dont use eclipse currently, sorry.