Miklos Szeredi [Tue, 5 Feb 2013 11:33:36 +0000 (12:33 +0100)]
Add FIXME for deadlock if $PATH contains mountpoint.
Reported by Joachim Kopp
Miklos Szeredi [Mon, 14 May 2012 14:18:22 +0000 (16:18 +0200)]
When checking root directory use LSTAT not STAT
This prevents I/O error being returned after a successful mount if a symlink is
mounted.
Reported by Bart Friederichs
Miklos Szeredi [Thu, 8 Mar 2012 09:36:10 +0000 (10:36 +0100)]
Released 2.4
Mike Kelly [Fri, 17 Feb 2012 16:35:15 +0000 (11:35 -0500)]
make sure idmap files aren't writable by others
otherwise, other local users could change the mapping, and gain access
to things they shouldn't
Chris Wolfe [Wed, 8 Feb 2012 15:11:10 +0000 (10:11 -0500)]
Add slave option to run sftp over stdin and stdout
Add -o slave. This option routes the sftp communication over stdin and stdout,
bypassing SSH and network.
Chris Wolfe [Tue, 7 Feb 2012 20:01:50 +0000 (15:01 -0500)]
Split fd into separate read and write pipes
Miklos Szeredi [Wed, 8 Feb 2012 09:21:33 +0000 (10:21 +0100)]
fix unused but set variables
cache.c: In function ‘cache_add_attr’:
cache.c:167:9: warning: variable ‘now’ set but not used [-Wunused-but-set-variable]
cache.c: In function ‘cache_add_dir’:
cache.c:188:9: warning: variable ‘now’ set but not used [-Wunused-but-set-variable]
cache.c: In function ‘cache_add_link’:
cache.c:212:9: warning: variable ‘now’ set but not used [-Wunused-but-set-variable]
Chris Wolfe [Tue, 7 Feb 2012 15:42:10 +0000 (10:42 -0500)]
Remove some trailing whitespace.
Verified with `cat -vet` and `grep '\s$'`
Mike Kelly [Tue, 20 Dec 2011 15:27:55 +0000 (10:27 -0500)]
skip blank lines
Mike Kelly [Tue, 20 Dec 2011 15:27:53 +0000 (10:27 -0500)]
increase portability
getline() isn't widely available yet, use fgets() instead
Mike Kelly [Tue, 20 Dec 2011 15:27:52 +0000 (10:27 -0500)]
fix typo in error message
Mike Kelly [Tue, 20 Dec 2011 15:27:51 +0000 (10:27 -0500)]
default to erroring if we can't remap a uid/gid
add a '-o nomap=ignore|error' option, which defaults to 'error'
Mike Kelly [Fri, 16 Dec 2011 19:52:21 +0000 (14:52 -0500)]
Add -o idmap=file, -o uidmap=FILE, -o gidmap=FILE
These options allow you to create a pair of local files, with
username:uid/groupname:gid pairs, one per line. Alternatively, files can
be in standard /etc/passwd / /etc/group format.
The uid/gids are for the remote server, their local counterparts are
looked up with a local getpwnam/getgrnam call. Any stat() calls will
show with the remapped local uid/gid, and any chown() calls will be
remapped back to the remote uid/gid.
Mike Kelly [Fri, 16 Dec 2011 19:52:20 +0000 (14:52 -0500)]
Fix a possible small memory leak
Mike Kelly [Fri, 16 Dec 2011 19:52:19 +0000 (14:52 -0500)]
Fix typo in error message
s/FD_CLOESEC/FD_CLOEXEC/
Miklos Szeredi [Tue, 20 Dec 2011 13:55:45 +0000 (14:55 +0100)]
Fix error handling in sshfs_read_end
Reported by Mike Kelly
Miklos Szeredi [Mon, 5 Dec 2011 12:11:09 +0000 (13:11 +0100)]
Make chown respect the UID mapping policy
Reported and tested by Vivenzio Pagliari
Miklos Szeredi [Wed, 16 Nov 2011 13:54:37 +0000 (14:54 +0100)]
Submit max 32k reads and writes to the sftp server
Also don't limit the kernel to 64k reads and writes, rather split into
32k sized chunks and send them to the server all at once. This is
more efficient and less demanding from the server.
Reported by Ludovic Courtès. Fix suggested by Niels Möller
Miklos Szeredi [Mon, 14 Nov 2011 15:28:13 +0000 (16:28 +0100)]
Add locking around modifver and connver
Miklos Szeredi [Mon, 14 Nov 2011 14:12:52 +0000 (15:12 +0100)]
Fix double free if reconnection races with request sending
Patch by E. Kuemmerle
Miklos Szeredi [Fri, 21 Oct 2011 15:12:31 +0000 (17:12 +0200)]
Remove "-oPreferredAuthentications" from ssh options
Remove "-oPreferredAuthentications" from ssh options if the
"password_stdin" option is used. Reported by E. Kuemmerle
Miklos Szeredi [Fri, 23 Sep 2011 12:33:32 +0000 (14:33 +0200)]
Add "FIXME: really needs LSETSTAT extension (debian Bug#640038)"
Percy Jahn [Wed, 24 Aug 2011 11:22:36 +0000 (13:22 +0200)]
sshfs: fstat workaround
Add "-oworkaround=fstat" for SFTP servers which don't support
the FSTAT message.
Miklos Szeredi [Fri, 1 Jul 2011 12:24:49 +0000 (14:24 +0200)]
Released 2.3
Miklos Szeredi [Fri, 1 Jul 2011 12:15:39 +0000 (14:15 +0200)]
Update COPYING
Miklos Szeredi [Fri, 1 Jul 2011 12:01:29 +0000 (14:01 +0200)]
Add hard link operation
Works if the server supports the "hardlink@openssh.com" protocol
extension.
Miklos Szeredi [Fri, 25 Mar 2011 12:38:39 +0000 (13:38 +0100)]
Fix possible deadlock on reconnection
Reported by Florian Zumbiehl
Miklos Szeredi [Tue, 25 Jan 2011 10:46:15 +0000 (11:46 +0100)]
Fix cleanup when ssh connection is terminated.
This prevents sshfs hanging when the server is rebooted, for example.
Miklos Szeredi [Wed, 28 Apr 2010 08:59:12 +0000 (08:59 +0000)]
* Set FD_CLOEXEC on fuse device. This prevents deadlocks that
happen in some circumstances (bugzilla.kernel.org #12864).
Miklos Szeredi [Wed, 15 Jul 2009 15:57:04 +0000 (15:57 +0000)]
* Check that the remote path specified refers to the same type of
file as the mountpoint, i.e. both are directories or both are
non-directories (debian bug #535343). Reported by Greg Kochanski
* Allow mounting a single non-directory from the server
Miklos Szeredi [Wed, 15 Jul 2009 15:08:55 +0000 (15:08 +0000)]
tear down mount on connect failure
Miklos Szeredi [Wed, 15 Jul 2009 14:27:52 +0000 (14:27 +0000)]
Check mountpoint and fuse options before starting an ssh
session (debian bug #535333). This is only supported if compiled
against libfuse-2.6 or later. Reported by Greg Kochanski
Miklos Szeredi [Wed, 15 Jul 2009 14:20:58 +0000 (14:20 +0000)]
Add option 'delay_connect': This will always create the sshfs mount,
even if the connection to the server can't be established.
Miklos Szeredi [Thu, 12 Feb 2009 07:11:33 +0000 (07:11 +0000)]
* Print usage information and version to stdout, not stderr.
Libfuse also needs to be fixed up. Reported by Kārlis Repsons
Miklos Szeredi [Mon, 20 Oct 2008 12:15:07 +0000 (12:15 +0000)]
Released 2.2
Miklos Szeredi [Mon, 20 Oct 2008 12:03:16 +0000 (12:03 +0000)]
Escape commas in fsname option if libfuse supports it
Miklos Szeredi [Wed, 8 Oct 2008 18:23:33 +0000 (18:23 +0000)]
Fix harmless glib assertations with "cache=no"
Miklos Szeredi [Wed, 8 Oct 2008 11:07:48 +0000 (11:07 +0000)]
* Handle numerical IPv6 addresses enclosed in square brackets. Reported by Andre-John Mas * Fix error if username contains a comma character. Reported by Yang Zhang
Miklos Szeredi [Fri, 11 Jul 2008 10:59:12 +0000 (10:59 +0000)]
Released 2.1
Miklos Szeredi [Tue, 24 Jun 2008 15:24:01 +0000 (15:24 +0000)]
Add '-F' option to specify the ssh config file
Miklos Szeredi [Tue, 6 May 2008 15:10:28 +0000 (15:10 +0000)]
Fix bug in caching which could cause file corruption for append mode writes
Miklos Szeredi [Fri, 25 Apr 2008 06:39:37 +0000 (06:39 +0000)]
man page update from Bartosz
Miklos Szeredi [Wed, 23 Apr 2008 12:12:25 +0000 (12:12 +0000)]
Add manual page
Miklos Szeredi [Wed, 23 Apr 2008 12:07:39 +0000 (12:07 +0000)]
Add manual page
Miklos Szeredi [Tue, 22 Apr 2008 16:01:59 +0000 (16:01 +0000)]
Released 2.0
Miklos Szeredi [Tue, 22 Apr 2008 14:25:19 +0000 (14:25 +0000)]
Support "statvfs@openssh.com" extension...
Miklos Szeredi [Tue, 22 Apr 2008 13:36:26 +0000 (13:36 +0000)]
Limit write requests to 64kB
Miklos Szeredi [Tue, 22 Apr 2008 13:00:14 +0000 (13:00 +0000)]
Allow the '-ossh_command=CMD' command to contain parameters...
Miklos Szeredi [Tue, 22 Apr 2008 10:20:05 +0000 (10:20 +0000)]
Fix incorrect disk usage reported by 'du' for files of size 4GB or above
Miklos Szeredi [Mon, 31 Mar 2008 11:30:43 +0000 (11:30 +0000)]
Support "posix-rename@openssh.com" extension...
Miklos Szeredi [Fri, 28 Mar 2008 19:22:19 +0000 (19:22 +0000)]
Add support for password authentication with pam_mount.
Miklos Szeredi [Thu, 27 Mar 2008 16:18:09 +0000 (16:18 +0000)]
*** empty log message ***
Miklos Szeredi [Mon, 17 Dec 2007 14:32:22 +0000 (14:32 +0000)]
Released 1.9
Miklos Szeredi [Tue, 11 Dec 2007 19:39:58 +0000 (19:39 +0000)]
Released 1.9
Miklos Szeredi [Mon, 10 Dec 2007 20:25:25 +0000 (20:25 +0000)]
Fix crash on writing files
Miklos Szeredi [Mon, 10 Dec 2007 18:21:52 +0000 (18:21 +0000)]
change indenting
Miklos Szeredi [Wed, 16 May 2007 11:20:35 +0000 (11:20 +0000)]
Released 1.8
Miklos Szeredi [Tue, 15 May 2007 20:09:29 +0000 (20:09 +0000)]
fixes
Miklos Szeredi [Wed, 18 Apr 2007 10:24:10 +0000 (10:24 +0000)]
Fix spurious cache entries remaining after renaming a directory
Miklos Szeredi [Wed, 18 Apr 2007 09:44:08 +0000 (09:44 +0000)]
Fix crash within gdb
Miklos Szeredi [Fri, 16 Mar 2007 13:15:16 +0000 (13:15 +0000)]
Don't set DISPLAY environment variable to empty string
Miklos Szeredi [Mon, 19 Feb 2007 16:04:03 +0000 (16:04 +0000)]
fix
Miklos Szeredi [Wed, 20 Dec 2006 17:48:08 +0000 (17:48 +0000)]
Work around write performace issues due to missing TCP_NODELAY in sshd
Miklos Szeredi [Sat, 11 Nov 2006 10:11:55 +0000 (10:11 +0000)]
fix
Miklos Szeredi [Fri, 29 Sep 2006 14:22:54 +0000 (14:22 +0000)]
fix segfault
Miklos Szeredi [Fri, 18 Aug 2006 10:38:37 +0000 (10:38 +0000)]
*** empty log message ***
Miklos Szeredi [Thu, 17 Aug 2006 10:13:02 +0000 (10:13 +0000)]
new release
Miklos Szeredi [Thu, 17 Aug 2006 09:12:55 +0000 (09:12 +0000)]
fix
Miklos Szeredi [Wed, 16 Aug 2006 12:57:23 +0000 (12:57 +0000)]
fixes
Miklos Szeredi [Thu, 13 Apr 2006 07:44:30 +0000 (07:44 +0000)]
fix
Miklos Szeredi [Thu, 9 Mar 2006 20:03:16 +0000 (20:03 +0000)]
fix
Miklos Szeredi [Thu, 9 Mar 2006 19:43:13 +0000 (19:43 +0000)]
new release
Miklos Szeredi [Thu, 9 Mar 2006 11:25:15 +0000 (11:25 +0000)]
fix
Miklos Szeredi [Wed, 8 Mar 2006 14:32:16 +0000 (14:32 +0000)]
fix
Miklos Szeredi [Fri, 24 Feb 2006 11:42:40 +0000 (11:42 +0000)]
fix
Miklos Szeredi [Thu, 23 Feb 2006 21:31:41 +0000 (21:31 +0000)]
fix
Miklos Szeredi [Thu, 23 Feb 2006 16:20:55 +0000 (16:20 +0000)]
fix
Miklos Szeredi [Wed, 22 Feb 2006 16:23:42 +0000 (16:23 +0000)]
fix
Miklos Szeredi [Mon, 20 Feb 2006 12:11:23 +0000 (12:11 +0000)]
new release
Miklos Szeredi [Mon, 20 Feb 2006 11:44:36 +0000 (11:44 +0000)]
fix
Miklos Szeredi [Mon, 20 Feb 2006 11:32:45 +0000 (11:32 +0000)]
revert making rename workaround on by default
Miklos Szeredi [Thu, 16 Feb 2006 17:02:25 +0000 (17:02 +0000)]
fix
Miklos Szeredi [Thu, 16 Feb 2006 11:51:27 +0000 (11:51 +0000)]
fix
Miklos Szeredi [Thu, 2 Feb 2006 12:07:14 +0000 (12:07 +0000)]
fix
Miklos Szeredi [Wed, 1 Feb 2006 15:50:44 +0000 (15:50 +0000)]
fix
Miklos Szeredi [Tue, 31 Jan 2006 18:34:38 +0000 (18:34 +0000)]
fix
Miklos Szeredi [Mon, 30 Jan 2006 11:05:40 +0000 (11:05 +0000)]
fix
Miklos Szeredi [Mon, 30 Jan 2006 09:47:02 +0000 (09:47 +0000)]
fix
Miklos Szeredi [Fri, 27 Jan 2006 16:30:55 +0000 (16:30 +0000)]
fix
Miklos Szeredi [Fri, 27 Jan 2006 12:49:14 +0000 (12:49 +0000)]
fix
Miklos Szeredi [Wed, 25 Jan 2006 14:47:07 +0000 (14:47 +0000)]
fix
Miklos Szeredi [Mon, 23 Jan 2006 17:03:25 +0000 (17:03 +0000)]
fix
Miklos Szeredi [Fri, 20 Jan 2006 16:29:23 +0000 (16:29 +0000)]
fix
Miklos Szeredi [Wed, 18 Jan 2006 14:05:48 +0000 (14:05 +0000)]
fix
Miklos Szeredi [Sat, 14 Jan 2006 23:02:33 +0000 (23:02 +0000)]
new release
Miklos Szeredi [Tue, 10 Jan 2006 10:54:38 +0000 (10:54 +0000)]
fix
Miklos Szeredi [Mon, 9 Jan 2006 17:27:28 +0000 (17:27 +0000)]
*** empty log message ***
Miklos Szeredi [Mon, 9 Jan 2006 17:19:39 +0000 (17:19 +0000)]
version change
Miklos Szeredi [Mon, 9 Jan 2006 17:01:21 +0000 (17:01 +0000)]
doc update
Miklos Szeredi [Mon, 9 Jan 2006 16:51:06 +0000 (16:51 +0000)]
fix