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'm trying to mount a Windows share on an Ubuntu Server box. It works with smbmount, and with an entry in /etc/fstab.

//Kubrick/Projects    /mnt/projects    smbfs    user=Eric\040Fritz%{pass},rw    0    0

However, when I try to write a credentials file, it always give me a "Permission Denied" error when I try to mount /mnt/projects. Here is the creds file and the new fstab line.

username=Eric Fritz
password={pass}

.

//Kubrick/Projects    /mnt/projects    smbfs    credentials=/root/.creds,rw    0    0

What is the proper way to escape the space in the username when using a credentials file?

share|improve this question
1  
smbfs is deprecated. Try cifs instead. –  grawity Aug 25 '11 at 22:31
    
For some reason, cifs didn't work before - now it does. If you want to change your comment to an answer I can accept it ;) –  efritz Aug 25 '11 at 23:02

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.