On Wed, Mar 12, 2014 at 9:36 PM, Vladimir Kudrya <pzs...@yandex.ru> wrote:
> Package: sshfs
> Version: 2.5-1
> Severity: normal
>
> Dear Maintainer, there is a bug in sshfs which breaks mounts in some
> specific use cases.
>
> When it works:
> Open terminal, execute:
>  sshfs user@server:/dir /some/local/mountpoint
> Close terminal. Mount persists, everything works.
>
> When it does not work:
> - Execution via desktop entry
> - Execution as an argument for terminal
> - Execution in the script called as an argument for terminal
>
> To reproduce, create desktop entry with parameters:
> ....
> Exec=sshfs user@server:/dir /some/local/mountpoint
> Terminal=true
> ....
> Launch desktop entry, enter password for sshfs.
> As soon as terminal is closed, sshfs mount disappears.

Possibly a race (terminal closed before child can execute setsid).

Instead of running in a terminal try the SSH_ASKPASS mechanism to pop
up a window asking for the ssh password (works by default here)

E.g.

  setsid sshfs ...
  window pops up

Thanks,
Miklos


-- 
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