Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can't unmount an ftp connection in my ubuntu by clicking on the unmount option in the GUI.

The only solution that works for me is restarting the machine.

Is there a command or some other trick that will help?

share|improve this question
1  
You probably mean disconnect instead of unmount. What FTP client program are you using exactly? –  Specur Nov 8 '10 at 13:39
    
@Specur: Most likely it's GNOME's Gvfs, which presents network connections as filesystems. –  grawity Nov 8 '10 at 16:22
    
@Specur: I'm using Nautilus –  Jon Nov 9 '10 at 16:08
add comment

2 Answers 2

Sometimes, sftp connections can get stuck. Use

ps aux | grep sftp

to find the process ID of the ftp connection. If nothing else helps, I normally kill the process with

kill <pid>

This should only be done if unmounting as user54114 has mentioned doesn't work correctly as it's not really a clean solution. However, I'm using gigolo in Xubuntu and I sometimes have to use this method if the connection can't be closed normally anymore.

share|improve this answer
add comment

Use 'mount' to find out where the remote directory is mounted Then unmount it using fusermount -u

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.