Ticket #2951 (new defect)
Opened 12 years ago
Open files on sftp link fails or opens wrong file
Reported by: | Marco | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-vfs | Version: | 4.8.5 |
Keywords: | sftp | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
What version of Midnight Commander is used?
GNU Midnight Commander 4.8.5 Built with GLib 2.32.4 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm and Linux console With support for X11 events With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
What steps will reproduce the problem?
Opening a file on a sftp link. For instance hitting return on a PDF file.
What is the expected output?
The file should be opened with the PDF reader or an error message should be shown that this is not supported.
What do you see instead?
The following error message is thrown and the file is not opened:
gvfs-open: file:///tmp/somefile.pdf: error opening location: Error when getting information for file /tmp/somefile.pdf': No such file or directory
The path /tmp is taken from the directory of the non-active panel
and the file name somefile.pdf is taken from the selected file in
the active panel.
In case the directory in the non-active panel contains a file called
somefile.pdf it is opened instead of the requested one.
Note: See
TracTickets for help on using
tickets.