Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As from title, how would I go to change the automatic mount point for a Samba share?

By default it is mounted in /run/user/<UID>/gvfs/smb-share:server=<IP>,share=<label>

This, however is a bit annoying as certain piece of software I use do not like the comma and colon in the path...

share|improve this question
up vote 3 down vote accepted

The mountpoints chosen by Gvfs cannot be changed except by modifying the source code.

If you always need to use the same share, you could create a symlink with a more acceptable name:

ln -s $XDG_RUNTIME_DIR/gvfs/smb-share:server=<IP>,share=<label> ~/tmp/mysmbshare
share|improve this answer
Great, works perfectly! – nico Jan 28 '13 at 15:36

Your Answer


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.