Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

I am trying to create a permanant access point to a windows share from a CentOS 5.5 machine. I edited the /etc/fstab file to have the following entry:

//travellot/ArcGIS Setup's/9.3.1 Entire/ArcGIS_Server_ent_Unix /home/thomasm/shares/agslinux cifs username=thomasm,dom=cssl,password=*******     0 0

I have blocked out the password only for this Q and the parameters are separated by tabs.

Anyway, this doesn't seem to work. The agslinux directory on the CentOS machine does not list the files in the windows share. I think it may be the underscores, apostrophes, spaces or periods that are causing the problem. Can someone confirm if this is the issue?

If it is, is there any way to workaround this? Perhaps by encasing the windows share with double quotes or by using escaped characters?

share|improve this question
up vote 2 down vote accepted

Yes, the spaces and apostrophe will cause a problem. You will need to escape them by prefixing them with a backslash (\). The underscores are not a problem.

//travellot/ArcGIS\ Setup\'s/9.3.1 Entire/ArcGIS_Server_ent_Unix /home/thomasm/shares/agslinux cifs username=thomasm,dom=cssl,password=*******     0 0
share|improve this answer

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.