1 2012-05-14 Miklos Szeredi <miklos@szeredi.hu>
3 * When checking root directory use LSTAT not STAT. This prevents
4 I/O error being returned after a successful mount if a symlink is
5 mounted. Reported by Bart Friederichs
7 2012-03-08 Miklos Szeredi <miklos@szeredi.hu>
11 2012-03-08 Miklos Szeredi <miklos@szeredi.hu>
13 * Make sure idmap files aren't writable by others otherwise, other
14 local users could change the mapping, and gain access to things
15 they shouldn't. Patch by Mike Kelly
17 2012-02-08 Chris Wolfe <cwolfe@chromium.org>
19 * Add -o slave. This option routes the sftp communication over stdin
20 and stdout, bypassing SSH and network.
22 2011-12-16 Mike Kelly <mike@pair.com>
24 * Add -o idmap=file, -o uidmap=FILE, -o gidmap=FILE. These options
25 allow you to create a pair of local files, similar to /etc/passwd or
26 /etc/group files from the remote server, and use those to remap all
29 2011-11-25 Miklos Szeredi <miklos@szeredi.hu>
31 * Make chown respect the UID mapping policy. Reported and tested
34 2011-11-16 Miklos Szeredi <miklos@szeredi.hu>
36 * Submit max 32k reads and writes to the sftp server. Also don't
37 limit the kernel to 64k reads and writes, rather split into 32k
38 sized chunks and send them to the server all at once. This is
39 more efficient and less demanding from the server. Reported by
40 Ludovic Courtès. Fix suggested by Niels Möller
42 2011-11-14 Miklos Szeredi <miklos@szeredi.hu>
44 * Fix double free if reconnection races with request sending.
47 * Add locking around modifver and connver
49 2011-10-21 Miklos Szeredi <miklos@szeredi.hu>
51 * Remove "-oPreferredAuthentications" from ssh options if the
52 "password_stdin" option is used. Reported by E. Kuemmerle
54 2011-08-24 Miklos Szeredi <miklos@szeredi.hu>
56 * Add "-oworkaround=fstat" for SFTP servers which don't support
57 the FSTAT message. Patch by: Percy Jahn
59 2011-07-01 Miklos Szeredi <miklos@szeredi.hu>
63 2011-07-01 Miklos Szeredi <miklos@szeredi.hu>
65 * Add hard link operation. Works if the server supports the
66 "hardlink@openssh.com" protocol extension.
68 2011-03-25 Miklos Szeredi <miklos@szeredi.hu>
70 * Fix possible deadlock on reconnection. Reported by Florian
73 2011-01-25 Miklos Szeredi <miklos@szeredi.hu>
75 * Fix cleanup when ssh connection is terminated. This prevents
76 sshfs hanging when the server is rebooted, for example.
78 2010-03-16 Miklos Szeredi <miklos@szeredi.hu>
80 * Set FD_CLOEXEC on fuse device. This prevents deadlocks that
81 happen in some circumstances (bugzilla.kernel.org #12864).
82 Reported by Tim Connors
84 2009-07-15 Miklos Szeredi <miklos@szeredi.hu>
86 * Check mountpoint and fuse options before starting an ssh
87 session (debian bug #535333). This is only supported if compiled
88 against libfuse-2.6 or later. Reported by Greg Kochanski
90 * Check that the remote path specified refers to the same type of
91 file as the mountpoint, i.e. both are directories or both are
92 non-directories (debian bug #535343). Reported by Greg Kochanski
94 * Allow mounting a single non-directory from the server
96 2009-07-15 Sebastian Dransfeld <sebastid@tango.flipp.net>
98 * Add option 'delay_connect': This will always create the sshfs mount,
99 even if the connection to the server can't be established.
101 2009-01-27 Miklos Szeredi <miklos@szeredi.hu>
103 * Print usage information and version to stdout, not stderr.
104 Libfuse also needs to be fixed up. Reported by Kārlis Repsons
106 2008-10-20 Miklos Szeredi <miklos@szeredi.hu>
110 2008-10-20 Miklos Szeredi <miklos@szeredi.hu>
112 * Escape commas in fsname option if libfuse supports it
114 2008-10-08 Miklos Szeredi <miklos@szeredi.hu>
116 * Handle numerical IPv6 addresses enclosed in square brackets.
117 Reported by Andre-John Mas
119 * Fix error if username contains a comma character. Reported by
122 * Fix harmless glib assertations with "cache=no"
124 2008-07-11 Miklos Szeredi <miklos@szeredi.hu>
128 2008-07-11 Miklos Szeredi <miklos@szeredi.hu>
130 * Fix statvfs extension to match the current protocol in
133 * Check version numbers of extensions, so such changes wouldn't
134 cause stupid behavior
136 2008-06-24 Miklos Szeredi <miklos@szeredi.hu>
138 * Add '-F' option to specify the ssh config file. Patch by Pat
141 2008-05-06 Miklos Szeredi <miklos@szeredi.hu>
143 * Fix bug in caching which could cause file corruption for append
144 mode writes. Reported by Jose Alonso
146 2008-05-05 Miklos Szeredi <miklos@szeredi.hu>
148 * Fix compile on OS X. Original patch from Michael G Schwern
150 * Fix compile on Solaris. Reported by Jean-Jacques Sarton
152 2008-04-23 Miklos Szeredi <miklos@szeredi.hu>
156 2008-04-23 Miklos Szeredi <miklos@szeredi.hu>
158 * Add manual page. Written by Bartosz Fenski
160 2008-04-22 Miklos Szeredi <miklos@szeredi.hu>
162 * Add missing ssh options: ControlMaster, ControlPath,
163 KbdInteractiveAuthentication, KbdInteractiveDevices, LocalCommand,
164 RekeyLimit (Debian bug #430225).
166 * Allow the '-ossh_command=CMD' command to contain parameters.
167 Escape charater is backslash.
169 * Limit write requests to 64kB.
171 * Support "statvfs@openssh.com" extension, which will be available
174 2008-04-21 Miklos Szeredi <miklos@szeredi.hu>
176 * Fix incorrect disk usage reported by 'du' for files of size 4GB
177 or above. Reported by Christian Boltz.
179 2008-04-16 Miklos Szeredi <miklos@szeredi.hu>
181 * If debugging is enabled, print some statistics at exit about the
182 number of bytes transferred, etc..
184 2008-03-31 Miklos Szeredi <miklos@szeredi.hu>
186 * Support "posix-rename@openssh.com" extension available in
187 OpenSSH 4.9. This allows rename to be atomic even when target
188 file or directory exists. If available, the extension will be
189 used instead of the rename operation in the original protocol and
190 the "-oworkaround=rename" option will be ignored.
192 2008-03-28 Miklos Szeredi <miklos@szeredi.hu>
194 * Add support for password authentication with pam_mount.
195 Original patch and help with testing: John S. Skogtvedt
197 2008-03-03 Miklos Szeredi <miklos@szeredi.hu>
199 * Fix ssh debug only appearing if "-d" is used. Reported by
202 2008-01-03 Miklos Szeredi <miklos@szeredi.hu>
204 * Fix condition for building of sshnodelay.so
206 2007-12-17 Miklos Szeredi <miklos@szeredi.hu>
210 2007-12-12 Miklos Szeredi <miklos@szeredi.hu>
212 * Fix checking for fuse_opt_parse in configure
214 2007-12-11 Miklos Szeredi <miklos@szeredi.hu>
216 * Fill in st_ctime attribute with st_mtime, instead of leaving it
219 * Check for OpenSSH version >= 4.4, and if found, don't build the
220 sshnodelay.so workaround
222 2007-12-10 Miklos Szeredi <miklos@szeredi.hu>
224 * Fix crash on writing files, caused by missing locking around
227 * Don't time requests when not debugging
229 * Add subtype support with libfuse >= 2.7.0
231 * Abort on allocation failure instead of exit
233 * Correctly show default of nodelaysrv workaround in help message
235 2007-05-16 Miklos Szeredi <miklos@szeredi.hu>
239 2007-05-15 Miklos Szeredi <miklos@szeredi.hu>
241 * Add needed g_thread_init() to fix rare crashes. Reported by
244 * Fix memory leak in sshfs_open_common()
246 2007-04-18 Miklos Szeredi <miklos@szeredi.hu>
248 * Fix crash within gdb, caused by sem_wait() returning with an
249 error on interrupt. Reported by Dimitrios Apostolou
251 * Fix spurious cache entries remaining after renaming a directory
253 2007-02-28 Miklos Szeredi <miklos@szeredi.hu>
255 * Don't set DISPLAY environment variable to "", because it breaks
256 ssh-askpass. Make nodelaysrv_workaround default to off, because
257 with this change it may have security implications.
259 2007-02-19 Miklos Szeredi <miklos@szeredi.hu>
261 * OpenSSH sftp-server can read requests faster, than it processes
262 them, when it's buffer is full it aborts. This can happen on a
263 large upload to a slow server. Work around this by limiting the
264 total size of outstanding reqests. Debian bug #365541. Tracked
265 down by Thue Janus Kristensen
267 * Add --disable-sshnodelay configure option. The sshnodelay.so
268 hack shouldnt be needed with OpenSSH client versions >= 4.3
270 2006-12-20 Miklos Szeredi <miklos@szeredi.hu>
272 * Work around write performace issues due to missing TCP_NODELAY
273 in sshd. Reported by Justin Searle
275 2006-11-10 Miklos Szeredi <miklos@szeredi.hu>
277 * Fix bug which ommitted directory entries for symlinks with the
278 -ofollow_symlinks option. Bug reported by Mikael Ståldal
280 2006-09-29 Miklos Szeredi <miklos@szeredi.hu>
282 * Fix segfault if there are outstanding writes to the server after
283 release on the file descriptor. This only happened on FreeBSD.
284 Reported by Andriy Gapon
286 2006-08-18 Miklos Szeredi <miklos@szeredi.hu>
290 2006-08-17 Miklos Szeredi <miklos@szeredi.hu>
292 * Cosmetics on bogus statfs numbers
294 2006-08-16 Miklos Szeredi <miklos@szeredi.hu>
296 * Add option 'follow_symlinks' to resolve symlinks on the server.
298 * On setups where the login shell prints a banner, the sftp
299 protocol was confused, and bailed out with "reply len too large:
300 ...". So iterate over any rubbish read immediately after login
301 until a valid reply is found.
303 * Check remote directory for existence before mounting. Closes
306 2006-03-10 Miklos Szeredi <miklos@szeredi.hu>
308 * Use socketpair() instead of pipe() for communication between ssh
309 and sshfs. Patch from Csaba Henk
311 * Update to FUSE interface version 26
313 2006-03-09 Miklos Szeredi <miklos@szeredi.hu>
317 2006-03-09 Miklos Szeredi <miklos@szeredi.hu>
319 * Fix segfault if remote host is down and reconnection is enabled
321 2006-03-08 Miklos Szeredi <miklos@szeredi.hu>
323 * Fix bug in symlink transformation. Reported by Ralf Hoffmann
325 2006-02-24 Miklos Szeredi <miklos@szeredi.hu>
327 * Add workaround for broken truncate on old sftp servers. Can be
328 enabled with '-oworkaround=truncate'. Patch from Joseph M Link
330 2006-02-23 Miklos Szeredi <miklos@szeredi.hu>
332 * Avoid double memcpy on writes. Patch by Joseph M Link
334 * More memory copy avoidance
336 2006-02-22 Miklos Szeredi <miklos@szeredi.hu>
338 * Add -fPIC to the comile flags of sshnodelay.so. Reported by
341 2006-02-20 Miklos Szeredi <miklos@szeredi.hu>
345 2006-02-19 Miklos Szeredi <miklos@szeredi.hu>
347 * Fix compilation with old FUSE versions. Report by Kurt George
350 2006-02-16 Miklos Szeredi <miklos@szeredi.hu>
352 * Block TERM/INT/HUP/QUIT signals in sshfs reading thread, so they
353 will always be received by the FUSE main thread. Fixes the
354 "double ^C" problem seen on FreeBSD.
356 * Use 'auto_cache' option if available, so that file cache is not
357 thrown away on each open. This should make repeated reading of a
358 file much much faster.
360 2006-01-31 Miklos Szeredi <miklos@szeredi.hu>
362 * Fix problems with nodelay workaround on FreeBSD.
364 2006-01-30 Miklos Szeredi <miklos@szeredi.hu>
366 * Fix data consitency bug if readahead is enabled and writes are
367 intermixed with reads. Solution is far from optimal, since it
368 will prevent readahead in the above situation. If used with FUSE
369 >= 2.6.0 with Linux-2.6.X, readahead will be done by the kernel,
370 and hence there will be no performance penalty. Bug reported and
371 test program written by Wolfgang Köbler. Further testing on
372 FreeBSD by Csaba Henk
374 2006-01-29 Miklos Szeredi <miklos@szeredi.hu>
376 * Add '-olarge_read' option for Linux-2.4.*. This should
377 generally improve download performance
379 2006-01-27 Miklos Szeredi <miklos@szeredi.hu>
381 * Add workaround (enabled by default) for ssh clients not setting
382 TCP_NODELAY on the network connection. Currently this is all
383 known versions of openssh. This may improve download speed in
386 * Make it possible to idividually disable workarounds with a "no"
389 * Change '-otransform_symlinks' not to prefix with the mountpoint
390 (which is fragile wrt. moving/binding the mount). Rather convert
391 absolute symlinks to relative if possible. Does not yet work if
392 base path is itself relative
394 2006-01-25 Miklos Szeredi <miklos@szeredi.hu>
396 * Use TCP_NODELAY socket option for direct connection. This may
397 improve download speed in some circumstances
399 2006-01-20 Miklos Szeredi <miklos@szeredi.hu>
401 * Update to fuse API 2.6
403 * Don't do readahead in sshfs if it's done in kernel
405 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
409 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
411 * Added 'transform_symlinks' option to "fix-up" absolute symlinks.
414 * Add option parsing implementation, so linking with older than
415 2.5.0 libfuse still works.
417 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
419 * Use new option parsing interface of FUSE
421 2005-11-28 Miklos Szeredi <miklos@szeredi.hu>
423 * Set statvfs::f_frsize
425 2005-11-23 Miklos Szeredi <miklos@szeredi.hu>
427 * Fix warnings on 64bit systems. Reported by D. R. Evans
429 2005-11-16 Miklos Szeredi <miklos@szeredi.hu>
431 * Replace EPROTO with the more portable EIO
433 * Fix bug in option parsing. Reported by Csaba Henk
435 2005-10-29 Miklos Szeredi <miklos@szeredi.hu>
437 * Use FUSE version 25 if available
439 * Add <sys/socket.h> include. Reported by Csaba Henk
441 2005-10-29 Miklos Szeredi <miklos@szeredi.hu>
445 2005-10-28 Miklos Szeredi <miklos@szeredi.hu>
447 * Add atomic create+open and ftruncate operation. This should fix
448 issues with 'cp' and other programs failing with "Permission
449 denied". To be effective, needs FUSE version 2.5 and kernel
450 version 2.6.15 (just a guess, since neither of them is released
453 2005-10-27 Miklos Szeredi <miklos@szeredi.hu>
455 * Add support for SSH protocol version 1. Bug reported by Miklos
458 2005-10-26 Miklos Szeredi <miklos@szeredi.hu>
460 * Fix typo (ConnectTimeout -> ConnectionTimeout) in ssh options.
461 Bug reported by Miklos Bagi Jr.
463 2005-10-19 Miklos Szeredi <miklos@szeredi.hu>
465 * GNOME Nautilus fails to copy file to sshfs filesystem, because
466 FUSE returns zero free space. So instead return huge (999999999
467 kbytes) amount of free space, yet it should be obvious that the
468 number is artificial. Bug report by Peter Kronheimer
470 2005-10-18 Miklos Szeredi <miklos@szeredi.hu>
472 * Add remote uid detection and translation ('idmap=user' option).
473 Idea and implementation details worked out by Jean-Marc Valin
475 2005-10-17 Miklos Szeredi <miklos@szeredi.hu>
477 * Add one more missing lock.
479 * Add workaround for failure to rename to an existing file. Based
480 on patch by Michael Best
482 2005-10-15 Miklos Szeredi <miklos@szeredi.hu>
484 * Protect request ID allocation with mutex. Bug report by Tvrtko
487 2005-08-17 Miklos Szeredi <miklos@szeredi.hu>
489 * Try to calculate approximate disk usage of files from their
490 size, so that 'du' returns meaningful results. Problem reported
493 2005-08-15 Miklos Szeredi <miklos@szeredi.hu>
497 2005-08-13 Miklos Szeredi <miklos@szeredi.hu>
499 * Add 'reconnect' option, which tries to reconnect to the server
500 when the connection is broken. If a password is required for
501 connection, it is recommended that you install ssh-askpass, and
502 set the SSH_ASKPASS environment variable (see 'man ssh' for more
505 2005-05-05 Miklos Szeredi <miklos@szeredi.hu>
507 * Work around missing truncate() support in some older sftp
508 servers (only works for zero size truncate). Thanks to Eduard
509 Czimbalmos for the bug report and help with testing
511 2005-04-13 Miklos Szeredi <miklos@szeredi.hu>
513 * Fix compilation with gcc-2.95. Reported by David A. Gershman
515 2005-03-08 Miklos Szeredi <miklos@szeredi.hu>
517 * Make it work on server version 2 (e.g. Sun_SSH_1.0.1). Report
518 and testing by Pieter J. Kersten
520 2005-03-04 Miklos Szeredi <miklos@szeredi.hu>
524 2005-03-03 Miklos Szeredi <miklos@szeredi.hu>
526 * Slightly optimize readahead. Still not clever enough to always
527 keep the pipe filled.
529 * Add 'sshfs_debug' option
531 2005-02-17 Miklos Szeredi <miklos@szeredi.hu>
533 * Parse 'max_read' mount option and if smaller than 65536 forward
536 2005-02-16 Miklos Szeredi <miklos@szeredi.hu>
538 * Added simple readahead (big performance gain in case of
539 sequential read pattern). Can be disabled with '-o no_readahead'
541 2005-02-14 Miklos Szeredi <miklos@szeredi.hu>
543 * Added asynchronous writeback (big performance gain) and made
544 this the default. Can be disabled with '-o sshfs_sync'
546 2005-02-09 Miklos Szeredi <miklos@szeredi.hu>
548 * Added option to start arbitary command instead of 'ssh'
550 * Re-added '-p PORT' as a convenience option, also '-C' works as
553 2005-02-08 Miklos Szeredi <miklos@szeredi.hu>
555 * Add caching of symlinks
557 * Add support for many ssh options to be passed to ssh
559 * Port number can now actually be specified with "-o port=PORT",
560 bug spotted by Andrew Ukrainec
562 2005-02-07 Miklos Szeredi <miklos@szeredi.hu>
564 * Separate attribute caching to a separate layer
566 * Add caching of directory contents
568 2005-02-03 Miklos Szeredi <miklos@szeredi.hu>
570 Fix PKG_CONFIG_PATH setting in configure.ac (reported by Alpar
573 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
577 2004-12-04 Miklos Szeredi <miklos@szeredi.hu>