Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

If I mount a Windows share using the "Places>Connect to Server..." option where is it mounted and is it always mounted at the same place?

I need to know the path so I can access it from the Terminal.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

You should found it under ~/.gvfs.

For more information see here

share|improve this answer

Potentially you could mount it on command line as well in the desired folder:

mount -t cifs //server-name/share-name /mnt/<share_folder> -o username=shareuser,password=sharepassword,domain=nixcraft

And go further than this and add it in fstab, thus when your computer boots, share is mounted on startup:

//server-name/share-name     /mnt/<share_folder>     cifs   defaults,username=shareuser,password=sharepassword,domain=nixcraft     0     0
share|improve this answer

On My 14.04 Desktop:

/run/user/<user id(1000)>/gvfs

But these are the current mount locations

~/.gvfs/

or

/run/user/$USERNAME/gvfs

or

$XDG_RUNTIME_DIR/gvfs 
share|improve this answer

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.