Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Mount directories with a space in its name

  • 15-05-2007 9:56am
    #1
    Registered Users, Registered Users 2 Posts: 1,165 ✭✭✭


    I'm trying to mount some Windows directories on my Ubuntu machine through adding them to /etc/fstab.

    Most are working, but I'm wondering how to do it for directories with a space in their name such as "Work Folder"

    I know I can do it through calling a script at startup and using "/server/work folder" but since I've most of them setup through /etc/fstab at this stage I was wondering if there is a way to do it.


Comments

  • Moderators, Music Moderators Posts: 23,363 Mod ✭✭✭✭feylya


    /Work\ Folder/ should work.


  • Closed Accounts Posts: 2,460 ✭✭✭workaccount


    You just need to type Work\ Folder


    EDIT: Id say there was split seconds between me and feylya there!


  • Registered Users, Registered Users 2 Posts: 1,165 ✭✭✭Stky10


    I get the following error when I try to mount it after doing that

    [mntent]: line 16 in /etc/fstab is bad
    mount: can't find /media/samba/Work folder in /etc/fstab or /etc/mtab


  • Moderators, Music Moderators Posts: 23,363 Mod ✭✭✭✭feylya


    Do you have Work Folder created in /media/samba? What's the complete line from fstab?


  • Registered Users, Registered Users 2 Posts: 1,165 ✭✭✭Stky10


    Yeah, I have the folder created. Its case sensitive as well

    The line from the fstab is

    //192.168.0.14/Work\ folder /media/samba/Work\ folder cifs username=tom,password=password,auto 0 0

    My password isn't password, I've just edited it for here. This structure works for other directories mounted off the same server that don't contain a space, so its not that. I'm using CIFS because its a Windows Server 2003 machine its mounting from and I've read before SMBFS doesn't support it.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 5,335 ✭✭✭Cake Fiend


    Are you bearing in mind that linux is case-sensitive? Double-check which words are capitalized...


Advertisement