goodmind / sunflower-fm

Automatically exported from code.google.com/p/sunflower-fm
GNU General Public License v3.0
1 stars 0 forks source link

Gvfs/Nautilus vs sshfs file locations. #358

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is an elaboration on the closed issue:
https://code.google.com/p/sunflower-fm/issues/detail?id=223

What steps will reproduce the problem?
1. Create an SFTP mount in Ubuntu's latest Nautilus "File > Connect to 
Server.." implementation.
2. Notice that viewing the mount in Sunflower may not bring you to the mount 
user's ~/USER directory by default, but will land you in the remote server's 
root, where you will then need to navigate to the /home/USER folder. 
3. Mount the same location with sshfs from the command line and try to access 
the files. All should be well. Files may be loaded with no issues in external 
editors like Sublime Text or Atom.io.

What version of the product are you using? On what operating system?

Ubuntu 14.04 x64

Please provide any additional information below.

I notice that when using the method in step #2, when loading the file into 
Sublime Text fails, the tab is named "sftp", and the window associated with the 
tab is blank. The actual file location reported by Ubuntu is, for example:
sftp:///REMOTE_USER@SERVER/home/REMOTE_USER/test.txt

When mounting with sshfs from the command line, Ubuntu reports the file at a 
simpler location:
/home/LOCAL_USER/MOUNT_NAME/test.txt
Sublime is able to access and modify files at these locations with no problem 
when loading from Sunflower.

Overall, it seems like an issue between Ubuntu's built-in implementation of 
gvfs fs using fuse for sftp instead. The problem is solved by simply using 
sshfs, but I expect this affects the majority of Ubuntu users.

Original issue reported on code.google.com by joeh...@gmail.com on 15 Jul 2014 at 2:21