Package: sshfs
Version: 2.2-1
Severity: minor


This is a bug in error reporting, or really
a failure to check for a user error.


If you run
sshfs -o nonempty host:dir mountpoint
and mountpoint is a normal file, created via
> mountpoint
sshf reports success but nothing is mounted on
mountpoint.   In fact, any access of mountpoint thereafter
gives Input/Output errors.


$ >foo
desk:~$ sshfs localhost:. foo
g...@localhost's password: 
fusermount: mountpoint is not empty
fusermount: if you are sure this is safe, use the 'nonempty' mount option
$ sshfs --nonempty localhost:. foo
g...@localhost's password: 
fusermount: mountpoint is not empty
fusermount: if you are sure this is safe, use the 'nonempty' mount option
$ 
$ sshfs -o nonempty localhost:. foo
g...@localhost's password: 
$ ls foo
ls: cannot access foo: Input/output error
$ ls -ld foo
ls: cannot access foo: Input/output error
$ cat foo
cat: foo: Input/output error
$ 




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sshfs depends on:
ii  fuse-utils                  2.7.4-1.1    Filesystem in USErspace (utilities
ii  libc6                       2.9-12       GNU C Library: Shared libraries
ii  libfuse2                    2.7.4-1.1    Filesystem in USErspace library
ii  libglib2.0-0                2.20.1-2     The GLib library of C routines
ii  openssh-client              1:5.1p1-5+b1 secure shell client, an rlogin/rsh

sshfs recommends no packages.

sshfs suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to