aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
AgeCommit message (Collapse)Author
2012-03-09Remove some trailing whitespace.Chris Wolfe
Verified with `cat -vet` and `grep '\s$'`
2012-03-09skip blank linesMike Kelly
2012-03-09increase portabilityMike Kelly
getline() isn't widely available yet, use fgets() instead
2012-03-09fix typo in error messageMike Kelly
2012-03-09default to erroring if we can't remap a uid/gidMike Kelly
add a '-o nomap=ignore|error' option, which defaults to 'error'
2012-03-09Make IDMAP_USER the default option on OS XBenjamin Fleischer
UID/GID mapping had been enabled in previous versions of SSHFS for MacFUSE/ OSXFUSE by default. This is the expected behavior.
2012-03-08make sure idmap files aren't writable by othersMike Kelly
otherwise, other local users could change the mapping, and gain access to things they shouldn't
2012-02-14Add slave option to run sftp over stdin and stdoutChris Wolfe
Add -o slave. This option routes the sftp communication over stdin and stdout, bypassing SSH and network.
2012-02-14Split fd into separate read and write pipesChris Wolfe
2012-02-08Remove some trailing whitespace.Chris Wolfe
Verified with `cat -vet` and `grep '\s$'`
2012-01-22Add -o idmap=file, -o uidmap=FILE, -o gidmap=FILEMike Kelly
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.
2012-01-22Fix a possible small memory leakMike Kelly
2012-01-22Fix typo in error messageMike Kelly
s/FD_CLOESEC/FD_CLOEXEC/
2012-01-22Fix error handling in sshfs_read_endMiklos Szeredi
Reported by Mike Kelly
2012-01-22Make chown respect the UID mapping policyMiklos Szeredi
Reported and tested by Vivenzio Pagliari
2012-01-22Submit max 32k reads and writes to the sftp serverMiklos Szeredi
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
2012-01-22Add locking around modifver and connverMiklos Szeredi
2012-01-22Fix double free if reconnection races with request sendingMiklos Szeredi
Patch by E. Kuemmerle
2012-01-22Remove "-oPreferredAuthentications" from ssh optionsMiklos Szeredi
Remove "-oPreferredAuthentications" from ssh options if the "password_stdin" option is used. Reported by E. Kuemmerle
2012-01-22Add "FIXME: really needs LSETSTAT extension (debian Bug#640038)"Miklos Szeredi
2012-01-22sshfs: fstat workaroundPercy Jahn
Add "-oworkaround=fstat" for SFTP servers which don't support the FSTAT message.
2012-01-20Apply modified sshfs 2.2 patch from MacFUSEBenjamin Fleischer
Based on Amit Singh's work at http://code.google.com/p/macfuse/
2011-12-21skip blank linesMike Kelly
2011-12-21increase portabilityMike Kelly
getline() isn't widely available yet, use fgets() instead
2011-12-21fix typo in error messageMike Kelly
2011-12-21default to erroring if we can't remap a uid/gidMike Kelly
add a '-o nomap=ignore|error' option, which defaults to 'error'
2011-12-20Add -o idmap=file, -o uidmap=FILE, -o gidmap=FILEMike Kelly
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.
2011-12-20Fix a possible small memory leakMike Kelly
2011-12-20Fix typo in error messageMike Kelly
s/FD_CLOESEC/FD_CLOEXEC/
2011-12-20Fix error handling in sshfs_read_endMiklos Szeredi
Reported by Mike Kelly
2011-12-05Make chown respect the UID mapping policyMiklos Szeredi
Reported and tested by Vivenzio Pagliari
2011-11-16Submit max 32k reads and writes to the sftp serverMiklos Szeredi
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
2011-11-14Add locking around modifver and connverMiklos Szeredi
2011-11-14Fix double free if reconnection races with request sendingMiklos Szeredi
Patch by E. Kuemmerle
2011-10-21Remove "-oPreferredAuthentications" from ssh optionsMiklos Szeredi
Remove "-oPreferredAuthentications" from ssh options if the "password_stdin" option is used. Reported by E. Kuemmerle
2011-09-23Add "FIXME: really needs LSETSTAT extension (debian Bug#640038)"Miklos Szeredi
2011-08-24sshfs: fstat workaroundPercy Jahn
Add "-oworkaround=fstat" for SFTP servers which don't support the FSTAT message.
2011-07-01Add hard link operationMiklos Szeredi
Works if the server supports the "hardlink@openssh.com" protocol extension.
2011-03-25Fix possible deadlock on reconnectionMiklos Szeredi
Reported by Florian Zumbiehl
2011-01-25Fix cleanup when ssh connection is terminated.Miklos Szeredi
This prevents sshfs hanging when the server is rebooted, for example.
2010-04-28* Set FD_CLOEXEC on fuse device. This prevents deadlocks thatMiklos Szeredi
happen in some circumstances (bugzilla.kernel.org #12864).
2009-07-15* Check that the remote path specified refers to the same type ofMiklos Szeredi
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
2009-07-15tear down mount on connect failureMiklos Szeredi
2009-07-15Check mountpoint and fuse options before starting an sshMiklos Szeredi
session (debian bug #535333). This is only supported if compiled against libfuse-2.6 or later. Reported by Greg Kochanski
2009-07-15Add option 'delay_connect': This will always create the sshfs mount,Miklos Szeredi
even if the connection to the server can't be established.
2009-02-12* Print usage information and version to stdout, not stderr.Miklos Szeredi
Libfuse also needs to be fixed up. Reported by Kārlis Repsons
2008-10-20Escape commas in fsname option if libfuse supports itMiklos Szeredi
2008-10-08* Handle numerical IPv6 addresses enclosed in square brackets. Reported by ↵Miklos Szeredi
Andre-John Mas * Fix error if username contains a comma character. Reported by Yang Zhang
2008-07-11Released 2.1sshfs_2_1Miklos Szeredi
2008-06-24Add '-F' option to specify the ssh config fileMiklos Szeredi